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

Working with IP addresses

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.

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