[c-nsp] How to monitor BGP sessions

Trent Lloyd lathiat at bur.st
Wed Apr 18 03:05:09 EDT 2007


Howdy,

liviu.pislaru at gmail.com wrote:

<snip>
> 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.
>   
Right so it is taking the first 32bits of the IPv6 address as an IPv4 
address, wonder what happens if you have more than 1 session to an IP in 
the same /32...

Cheers,
Trent

<snip>


More information about the cisco-nsp mailing list