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

Making custom show commands

In this recipe, we'll create a new SLAX op script, show-bgp.slax, in order to create a slightly more readable and visible show bgp summary command. We'll do this by executing the normal RPC associated with the show bgp neighbor command, extracting the pertinent information, tabulating, and formatting it for output.

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