Archive for category Cisco
Configuring an Inter-AS Option B VPN between a Cisco and Juniper
Posted by jrowley in Cisco, Inter-AS VPNs, Juniper on March 9, 2010
One of the things I needed to put together recently is an Inter-AS VPN between a Cisco and Juniper. There isn’t much in the way of documentation on interoperability. Everything I’ve found is Cisco to Cisco or Juniper to Juniper. Hopefully this will help someone.
rtrcommander: Using scripts to push out configurations or retrieve output
rtrcommander is a script I wrote to push out configurations to multiple routers, as well as to retrieve output from the cli. It’s a part of Mr Audit (the release of Mr Audit is delayed while I prepare for the CCIE lab).
rtrcommander can be downloaded here: http://www.synacknetworks.com/scripts/rtrcommander.txt
Parsing cisco router configurations with Cisco::Reconfig
Cisco::Reconfig is probably my favorite Perl module, with Quantum::Superpositions being not very far behind. In this post, I’ll show you how using both of these can allow you to compare ACLs with very few lines of perl.
Backing up Cisco routers with perl
Here is a useful perl script to backup your routers. Configurations are gzipped and stored in per-hostname directories with a datestamp on each filename. This is meant to be run from cron daily. Change the database user info and the tacacs/radius user info to whatever you use internally.
Perl script to check customer interface status on Cisco routers
Overview
This utility is a simple perl script that checks all interfaces in a Cisco router. It is useful to run before and after router maintenance to ensure customers that were up prior, are up after. This script checks both VRF and non-VRF customers. It also supports /30 and /31 interface addresses.
Read the rest of this entry »