Checking BGP prefixes number match between peers

This simple Perl script for Infoblox Network Automation checks that BGP number of prefixes between peers are match. It logs on the selected router(s), receives BGP peers table and sequentially logs on the peer routers and checks that prefixes numbers are match. If an inequality was found it generates a custom issue.

Creating perl scripts in Infoblox Network Automation (NetMRI)

Creating scripts in Network Automation is a very simple task. But these scripts can be very powerful and useful.Look at my presentation and you will know how to create Perl-scripts, to use internal objects, to interact with network devices and to sync data with Infoblox DDI solution.

Some Network Automation (NetMRI) WAPI calls

1. First of all you have to authenticate yourself

«Cookie» with auth data should be saved into file after the «-c» option. In my example it is saved into the auth.file. 2. You can’t export devices with interfaces. You can export devices and interfaces separately. For example, command:

will export information about all …

Continue reading ‘Some Network Automation (NetMRI) WAPI calls’ »