[c-nsp] How to monitor BGP sessions
Antonio Querubin
tony at lava.net
Wed Apr 18 16:51:56 EDT 2007
On Wed, 18 Apr 2007, liviu.pislaru at gmail.com wrote:
> OUTPUT EXAMPLE:
> Router X has 3 BGP neighbors:
> 1. 213.154.97.240
> 2. 213.154.97.241
> 3. 2001:1518:0:3000::2
>
> the script above will return 3 values for $remote_peer:
> 1. 213.154.97.240
> 2. 213.154.97.241
> 3. 32.1.21.24
>
> you can see that even if the third neighbor is IPV6, the $remote_peer is
> printed IPV4 style and you can use it later with the next OIDs.
Unfortunately, this isn't useful when most of the IPv6 neighbor links are
assigned out of the same /32.
Antonio Querubin
whois: AQ7-ARIN
More information about the cisco-nsp
mailing list