ā06-08-2015 02:06 AM
Hello!
I have a trouble with basic snmp ifmib. I can't monitor interfaces, which is a members of bundle-ether with subinterfaces.
For example.
.1.3.6.1.2.1.31.1.1.1.6 64bit octets in
.1.3.6.1.2.1.31.1.1.1.10 64bit octets out
[root@pantera /home/filchakov]# snmpwalk -c SR32cisco -v 2c <ip> .1.3.6.1.2.1.2.2.1.2
IF-MIB::ifDescr.2 = STRING: Null0
IF-MIB::ifDescr.3 = STRING: MgmtEth0/RSP0/CPU0/0
IF-MIB::ifDescr.4 = STRING: MgmtEth0/RSP0/CPU0/1
IF-MIB::ifDescr.7 = STRING: Loopback0
IF-MIB::ifDescr.8 = STRING: Bundle-Ether1
IF-MIB::ifDescr.23 = STRING: TenGigE0/0/0/0
IF-MIB::ifDescr.24 = STRING: TenGigE0/0/0/1
IF-MIB::ifDescr.25 = STRING: TenGigE0/0/0/2
IF-MIB::ifDescr.26 = STRING: TenGigE0/0/0/3
IF-MIB::ifDescr.27 = STRING: TenGigE0/0/2/0
IF-MIB::ifDescr.28 = STRING: TenGigE0/0/2/1
IF-MIB::ifDescr.29 = STRING: TenGigE0/0/2/2
IF-MIB::ifDescr.30 = STRING: TenGigE0/0/2/3
IF-MIB::ifDescr.31 = STRING: TenGigE0/0/1/0
IF-MIB::ifDescr.32 = STRING: TenGigE0/0/1/1
IF-MIB::ifDescr.33 = STRING: TenGigE0/0/1/2
IF-MIB::ifDescr.34 = STRING: TenGigE0/0/1/3
IF-MIB::ifDescr.35 = STRING: Bundle-Ether2
IF-MIB::ifDescr.50 = STRING: Bundle-Ether3
IF-MIB::ifDescr.51 = STRING: Bundle-Ether3.4019
IF-MIB::ifDescr.52 = STRING: Bundle-Ether3.4084
IF-MIB::ifDescr.53 = STRING: Bundle-Ether4
TenGigE0/0/1/1 - member of Bundle-Ether1. All works fine:
RP/0/RSP0/CPU0:SR32-27.ekb#sh run int TenGigE0/0/1/1
interface TenGigE0/0/1/1
bundle id 1 mode passive
transceiver permit pid all
!
snmpget -c SR32cisco -v 2c <ip> .1.3.6.1.2.1.31.1.1.1.6.32
IF-MIB::ifHCInOctets.32 = Counter64: 3036994619987
snmpget -c SR32cisco -v 2c <ip> .1.3.6.1.2.1.31.1.1.1.10.32
IF-MIB::ifHCOutOctets.32 = Counter64: 3746001468200
But for TenGigE0/0/0/2 it doesn't work. This interface is a member of Bundle-Ethernet3 which have few subinterfaces:
RP/0/RSP0/CPU0:SR32-27.ekb#sh run int TenGigE0/0/0/2
interface TenGigE0/0/0/2
bundle id 3 mode passive
transceiver permit pid all
!
snmpget -c SR32cisco -v 2c <ip> .1.3.6.1.2.1.31.1.1.1.6.25
IF-MIB::ifHCInOctets.25 = No Such Instance currently exists at this OID
snmpget -c SR32cisco -v 2c <ip> .1.3.6.1.2.1.31.1.1.1.10.25
IF-MIB::ifHCOutOctets.25 = No Such Instance currently exists at this OID
For Bundle-Ether3 all fine:
snmpget -c SR32cisco -v 2c <ip> .1.3.6.1.2.1.31.1.1.1.6.50
IF-MIB::ifHCInOctets.50 = Counter64: 6162443598568
snmpget -c SR32cisco -v 2c <ip> .1.3.6.1.2.1.31.1.1.1.10.50
IF-MIB::ifHCOutOctets.50 = Counter64: 9834441495716
If Bundle-Ether have subinterfaces, it's impossible to monitor separate bundle members?
Thanks in advance!
ā06-09-2015 06:56 AM
hi Dmitry,
this is not the expected behaviour.
I have checked on a router running 5.2.4 and I don't see the issue that you have reported.
https://supportforums.cisco.com/document/132706/asr9000xr-understanding-snmp-and-troubleshooting document has some good show commands at the end that will help you see why the router couldn't respond to the snmpget. You may have to open a TAC SR if further troubleshooting is required.
regards,
Aleksandar
ā06-16-2015 03:08 AM
Thanks Aleksandar!
Good article about snmp! I checked on 5.2.2 (in first post i used 5.3.1) and no problem. So, i will open TAC case.
ā06-01-2017 12:13 PM
Did you ever get an answer to your Monitoring members of Bundle-Ether with subinterfaces ? I am having the exact some issue. I am running version 5.3.1
ā06-02-2017 09:50 AM
Hi,
running 5.3.1 today is not an option that we recommend. If you want to stick to 5.3 because of HW support, we recommend the 5.3.4 release: https://supportforums.cisco.com/document/13212901/ios-xr-release-strategy-and-deployment-recommendation. Can you try 5.3.4?
/Aleksandar
ā06-02-2017 10:08 AM
Thanks. I will give that a try.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide