cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2551
Views
0
Helpful
4
Replies

BGP4-MIB IOS XR

ope-reseau
Level 1
Level 1
Hello
I would appreciate if you could help me with IOS XR SNMP.
I use the Snmpwalk command to find the state OID for BGP sessions. When I run the command the session by in time-out?

I use IOS XR version 5.3.4

snmpwalk -v 2c -c toto X.X.X.X or snmpwalk -v 2c -c vrf-toto X.X.X.X

SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS XR Software (Cisco ASR9K Series),  Version 5.3.4[Default]
Copyright (c) 2016 by Cisco Systems, Inc.
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.1639
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (848424) 2:21:24.24
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING:
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 78
Timeout: No Response from X.X.X.X

my config:
snmp-server vrf toto
 context vrf-toto
!
snmp-server community toto RO
snmp-server community vrf-toto RO
snmp-server context vrf-toto
snmp-server community-map vrf-toto context vrf-toto
snmp-server interface MgmtEth0/RSP0/CPU0/0
!
snmp-server interface MgmtEth0/RSP0/CPU0/1

many Thanks!

1 Accepted Solution

Accepted Solutions

tkarnani
Cisco Employee
Cisco Employee

Hello,

can you try this oid ? 1.3.6.1.4.1.9.9.187.1.2.5.1.3

From our lab

snmpwalk.exe -v 2c -c public x.x.x.x 1.3.6.1.4.1.9.9.187.1.2.5.1.3

SNMPv2-SMI::enterprises.9.9.187.1.2.5.1.3.1.4.10.1.100.2 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.187.1.2.5.1.3.1.4.10.251.3.1 = INTEGER: 1

RP/0/RSP1/CPU0:ASR9904-D#show bgp summ | b Neighbor
Fri Aug 11 14:33:18.500 UTC
Neighbor        Spk    AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down  St/PfxRcd
10.1.100.2        0 65100       0       0        0    0    0 00:00:00 Idle
10.251.3.1        0 65100    4370   28642        0    0    0     1w0d Idle



integer should correspond to

 idle(1),
 connect(2),
 active(3),
 opensent(4),
 openconfirm(5),
 established(6)

View solution in original post

4 Replies 4

tkarnani
Cisco Employee
Cisco Employee

Hello,

can you try this oid ? 1.3.6.1.4.1.9.9.187.1.2.5.1.3

From our lab

snmpwalk.exe -v 2c -c public x.x.x.x 1.3.6.1.4.1.9.9.187.1.2.5.1.3

SNMPv2-SMI::enterprises.9.9.187.1.2.5.1.3.1.4.10.1.100.2 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.187.1.2.5.1.3.1.4.10.251.3.1 = INTEGER: 1

RP/0/RSP1/CPU0:ASR9904-D#show bgp summ | b Neighbor
Fri Aug 11 14:33:18.500 UTC
Neighbor        Spk    AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down  St/PfxRcd
10.1.100.2        0 65100       0       0        0    0    0 00:00:00 Idle
10.251.3.1        0 65100    4370   28642        0    0    0     1w0d Idle



integer should correspond to

 idle(1),
 connect(2),
 active(3),
 opensent(4),
 openconfirm(5),
 established(6)

hi tkarnani ,

With this command I always have time-out
Snmpwalk-V 2 C-C toto x.x.x.x X 1.3.6.1.4.1.9.9.187.1.2.5.1.3
Timeout: No Response from x.x.x.x X

I more or less managed to find my BGP session among the 500
TCP-MIB:: TcpConnectionState. x.x.x.x X ". 179. IPv4." x.x.x.x X ". 60670 = INTEGER: Established (5)
But which OID corresponds to this session?
In Observium, my curves are chopped.

Time-out are important with or without the Acl's on the interface that is queried:

Show SNMP Request Drop Summary
Fri Aug 11 14:36:12.888 UTC
NMS Address          INQ   Encode    Duplicate   Stack    AIPC  Overload   Timeout   Internal
x.x.x.x X                   197        0             1773         0         2410      0               633          0

Can we try walking 1.3.6.1.4.1.9.9.187.1.2 , i am just curious to see if you receive any output from that mib.

wanizakochan
Level 1
Level 1

BGP4-MIB in IOS XR, a critical component of Cisco's networking infrastructure, plays a pivotal role in managing BGP routing protocols efficiently. This article dives deep into the features and functionalities of BGP4-MIB on IOS XR, shedding light on its significance in modern networking environments. stability is as crucial as "사translates to "Private Toto Recommendation." is in safe online betting.