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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

about BGP MIB #1

Please tell me.

What is MIB and object ID used by the "show ip bgp summary" command?

1 REPLY
Bronze

Re: about BGP MIB #1

Take a look at this information:

7513#sh ip bgp sum

BGP router identifier 172.16.186.26, local AS number 65001

BGP table version is 8, main routing table version 8

3 network entries and 3 paths using 399 bytes of memory

2 BGP path attribute entries using 112 bytes of memory

0 BGP route-map cache entries using 0 bytes of memory

0 BGP filter-list cache entries using 0 bytes of memory

BGP activity 10/17 prefixes, 11/6 paths, scan interval 15 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd

172.16.99.21 4 65001 12 12 8 0 0 00:07:28 0

172.16.100.20 4 65001 19 17 8 0 0 00:05:32 1

Cross-checking against SNMP, I get this in bgpPeerTable:

snmpwalk -c public 172.16.186.26 BGP4-MIB:bgpPeerTable

BGP4-MIB::bgpPeerIdentifier.172.16.99.21 = IpAddress: 172.16.99.21

BGP4-MIB::bgpPeerIdentifier.172.16.100.20 = IpAddress: 172.16.100.20

BGP4-MIB::bgpPeerState.172.16.99.21 = INTEGER: established(6)

BGP4-MIB::bgpPeerState.172.16.100.20 = INTEGER: established(6)

BGP4-MIB::bgpPeerAdminStatus.172.16.99.21 = INTEGER: stop(1)

BGP4-MIB::bgpPeerAdminStatus.172.16.100.20 = INTEGER: stop(1)

BGP4-MIB::bgpPeerNegotiatedVersion.172.16.99.21 = INTEGER: 4

BGP4-MIB::bgpPeerNegotiatedVersion.172.16.100.20 = INTEGER: 4

BGP4-MIB::bgpPeerLocalAddr.172.16.99.21 = IpAddress: 172.16.186.26

BGP4-MIB::bgpPeerLocalAddr.172.16.100.20 = IpAddress: 172.16.186.26

BGP4-MIB::bgpPeerLocalPort.172.16.99.21 = INTEGER: 179

BGP4-MIB::bgpPeerLocalPort.172.16.100.20 = INTEGER: 179

BGP4-MIB::bgpPeerRemoteAddr.172.16.99.21 = IpAddress: 172.16.99.21

BGP4-MIB::bgpPeerRemoteAddr.172.16.100.20 = IpAddress: 172.16.100.20

BGP4-MIB::bgpPeerRemotePort.172.16.99.21 = INTEGER: 11004

BGP4-MIB::bgpPeerRemotePort.172.16.100.20 = INTEGER: 42470

BGP4-MIB::bgpPeerRemoteAs.172.16.99.21 = INTEGER: 65001

BGP4-MIB::bgpPeerRemoteAs.172.16.100.20 = INTEGER: 65001

BGP4-MIB::bgpPeerInUpdates.172.16.99.21 = Counter32: 1

BGP4-MIB::bgpPeerInUpdates.172.16.100.20 = Counter32: 4

BGP4-MIB::bgpPeerOutUpdates.172.16.99.21 = Counter32: 1

BGP4-MIB::bgpPeerOutUpdates.172.16.100.20 = Counter32: 2

BGP4-MIB::bgpPeerInTotalMessages.172.16.99.21 = Counter32: 13

BGP4-MIB::bgpPeerInTotalMessages.172.16.100.20 = Counter32: 20

BGP4-MIB::bgpPeerOutTotalMessages.172.16.99.21 = Counter32: 13

BGP4-MIB::bgpPeerOutTotalMessages.172.16.100.20 = Counter32: 18

BGP4-MIB::bgpPeerLastError.172.16.99.21 = Hex-STRING: 00 00

BGP4-MIB::bgpPeerLastError.172.16.100.20 = Hex-STRING: 00 00

BGP4-MIB::bgpPeerFsmEstablishedTransitions.172.16.99.21 = Counter32: 1

BGP4-MIB::bgpPeerFsmEstablishedTransitions.172.16.100.20 = Counter32: 2

BGP4-MIB::bgpPeerFsmEstablishedTime.172.16.99.21 = Gauge32: 495

BGP4-MIB::bgpPeerFsmEstablishedTime.172.16.100.20 = Gauge32: 379

BGP4-MIB::bgpPeerConnectRetryInterval.172.16.99.21 = INTEGER: 60

BGP4-MIB::bgpPeerConnectRetryInterval.172.16.100.20 = INTEGER: 60

BGP4-MIB::bgpPeerHoldTime.172.16.99.21 = INTEGER: 180

BGP4-MIB::bgpPeerHoldTime.172.16.100.20 = INTEGER: 180

BGP4-MIB::bgpPeerKeepAlive.172.16.99.21 = INTEGER: 60

BGP4-MIB::bgpPeerKeepAlive.172.16.100.20 = INTEGER: 60

BGP4-MIB::bgpPeerHoldTimeConfigured.172.16.99.21 = INTEGER: 180

BGP4-MIB::bgpPeerHoldTimeConfigured.172.16.100.20 = INTEGER: 180

BGP4-MIB::bgpPeerKeepAliveConfigured.172.16.99.21 = INTEGER: 60

BGP4-MIB::bgpPeerKeepAliveConfigured.172.16.100.20 = INTEGER: 60

BGP4-MIB::bgpPeerMinASOriginationInterval.172.16.99.21 = INTEGER: 5

BGP4-MIB::bgpPeerMinASOriginationInterval.172.16.100.20 = INTEGER: 5

BGP4-MIB::bgpPeerMinRouteAdvertisementInterval.172.16.99.21 = INTEGER: 5

BGP4-MIB::bgpPeerMinRouteAdvertisementInterval.172.16.100.20 = INTEGER: 5

BGP4-MIB::bgpPeerInUpdateElapsedTime.172.16.99.21 = Gauge32: 487

BGP4-MIB::bgpPeerInUpdateElapsedTime.172.16.100.20 = Gauge32: 372

277
Views
0
Helpful
1
Replies