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 remote procedure calls

In this recipe, we'll create a Stylesheet Language Alternative Syntax (SLAX) op script, show-int.slax, in order to simulate the behavior of the show interfaces JUNOS CLI command. We'll do this by executing the normal RPC associated with the show interface command and pick out the information that we need.

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