O'Reilly logo

JUNOS Automation Cookbook by Adam Chappell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Extracting graphs from ISIS

In this recipe, we'll write a Python PyEZ-based script, process-isis.py, to connect to one of our JUNOS OS devices and extract the ISIS link-state database. Because of the nature of link-state protocols like ISIS, a single router in the estate holds all of the information of the whole network. In this case, the link-state database knows about all other routers in the IGP domain and the adjacent devices to which they connect. We can use this information to help visualise our network.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required