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

Monitoring interface performance

In this recipe, we'll use the JUNOS OS NETCONF interface in order to extract real-time interface performance data and present it in a web interface. We'll write a server application that connects to the devices in our estate, issues a NETCONF remote procedure call to extract the data, and then shares this data amongst web-based clients. For convenience and simplicity, we'll avoid the task of storing the actual interface usage data and focus our application on real-time uses such as monitoring the state of interfaces while performing reconfiguration work. Consider it an extension to the command line interface, but in a visual form:

Figure 7.5 Interface monitoring system schematic

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