Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

How to get bgp prefix counter via snmp?

Hi,

I try to get bgp prefix counter information of our internet edge router Cisco 72xx [IOS 12.2(31)SBx] via snmp but I don't know which MIB and OIDs match to the information of the following show command:

===

router#show ip bgp neighbors

BGP neighbor is <x>

...

                                 Sent       Rcvd

  Prefix activity:               ----       ----

    Prefixes Current:          268663     <a> (Consumes 12052664 bytes)

    Prefixes Total:          17718182   23188149

    Implicit Withdraw:       10887735   16286796

    Explicit Withdraw:        6561784    6669571

    Used as bestpath:             n/a      <b>

    Used as multipath:            n/a          0

...

BGP neighbor is <y>

...

                                 Sent       Rcvd

  Prefix activity:               ----       ----

    Prefixes Current:          268663     <c> (Consumes 12052664 bytes)

    Prefixes Total:          17718182   23188149

    Implicit Withdraw:       10887735   16286796

    Explicit Withdraw:        6561784    6669571

    Used as bestpath:             n/a      <d>

    Used as multipath:            n/a          0

...

===

In detail I am looking for the received values of "prefixes current" and "used as bestpath" of every bgp neighbor.

It would be fine if anybody could tell me the associated mib and oids.

Best Regards,

Thorsten

942
Views
0
Helpful
0
Replies
CreatePlease to create content