In this recipe, we'll build on our original op script, show-int.slax, and enhance its functionality so that it can limit the output based on characteristics of the interface. In this case, it will allow the user to nominate an IP address range in the CIDR notation, for example 8.0.0.0/24, and will then restrict its output to interfaces associated with that address range.
Working with IP addresses
Getting ready
In order to complete this recipe, you'll need access to a JUNOS router running with a varied set of network interfaces for different addresses.