TCL Script - reachability to BGP networks

From: Tom Kacprzynski <tom.kac_at_gmail.com>
Date: Mon, 19 Dec 2011 23:04:36 -0600

Hello Everyone,
I have a quick question. Trying to optimize how I generate the reachability
tcl script for the lab (the quicker I can create the script the more time
i'll have troubleshooting any issue). For directly connected networks it's
pretty easy.. just do sh ip alias on each router:

Rack1R2#sh ip alias
Address Type IP Address Port
Interface 150.1.2.2
Interface 187.1.235.2
Interface 204.12.1.2

...using alt and mouse selection, copy only the addresses into the tcl
script.

But what* I'm looking for* is a nice quick way to get all of the active bgp
routes in a similar way without doing much formatting, such as duplicate or
tabs or weird spaces.

What does everyone else do to check advertised routes reachability? Is
there a nice BGP command that could be used with regex or some show ip cef
... command.

Thank you in advance for any help.

Tom

Blogs and organic groups at http://www.ccie.net
Received on Mon Dec 19 2011 - 23:04:36 ART

This archive was generated by hypermail 2.2.0 : Sun Jan 01 2012 - 08:27:00 ART