[c-nsp] BGP peers

David J. Hughes bambi at Hughes.com.au
Thu Jun 16 18:02:12 EDT 2005


On 17/06/2005, at 4:25 AM, Todd Whitney wrote:

> i have a 12000 series and i want to know how many BPG upstreams i have
> same for BGP downstreams. Is there a quick way to figure this out.
>
> now slightly harder version of this question (this is just for my own
> knowledge) can i do this via snmpwalk? I.E. check it from home)
>

To see what peers you have (and their status etc) via SNMP have a look 
at the mib-2.bgp branch of the OID tree.  Use a mib browser (or the 
Cisco Object navigator on CCO) and look at the bgpPeerTable at 
1.3.6.1.2.1.15.3.1

As for working out what's upstream and what's downstream, that's 
something only you can decide upon based on your local criteria (eg. 
peer address not in one of your address blocks or something).


David
...



More information about the cisco-nsp mailing list