In this recipe, we'll build on our previous op script, show-int.slax, and enhance its functionality so that it can limit the output based on characteristics of the interface. To illustrate the capabilities of XPath predicates, we'll filter some of the annoying internal interfaces that showed up in the output of the previous recipe.
Using XPath predicate expressions
Getting started
In order to complete this recipe, you'll need access to a JUNOS router running with a basic configuration. Ideally, build upon the previous recipe and modify the source code.