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

Configuration analysis and reporting

In this recipe, we’ll use the PyEZ framework to make operational RPCs to the JUNOS device in order to query configuration information. We’ll apply some logic and summarization with a view to producing a report that offers some indication on the level of load or configuration burden experienced by the JUNOS device. Such benchmarking is a common requirement in ISP networks, where it is not always possible to dimension the capacity of a router simply by its physical interfaces. Logical configuration consumes control plane resource as well and needs to be considered. This in turn can affect decision making for chassis sizing. The following table presents the description for different resources used:

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