[c-nsp] Cisco ASR1004 running IOS 12.2(33)XNF2 does not return SNMP cbQosIfIndex
Martin T
m4rtntns at gmail.com
Thu Oct 11 10:11:56 EDT 2018
Hi!
I have a Cisco ASR1004 running IOS 12.2(33)XNF2 on IOS XE 02.06.02,
which for some reason, does not return cbQosIfIndex for some
interfaces. For example, here is an interface with input
service-policy configuration applied:
asr1004#sh policy-map interface TenGigabitEthernet1/1/0.260 input
TenGigabitEthernet1/1/0.260
Service-policy input: CIR-100MB
Class-map: class-default (match-any)
199728955 packets, 26519919043 bytes
30 second offered rate 1000 bps, drop rate 0000 bps
Match: any
police:
cir 104857500 bps, bc 3276780 bytes
pir 104857500 bps, be 3276796 bytes
conformed 199728955 packets, 26519919043 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
violated 0 packets, 0 bytes; actions:
drop
conformed 1000 bps, exceed 0 bps, violate 0000 bps
asr1004#
Te1/1/0.260 is up and has traffic on both directions on it. IfIndex of
this interface is 155:
asr1004#sh snmp mib ifmib ifindex TenGigabitEthernet1/1/0.260
Interface = TenGigabitEthernet1/1/0.260, Ifindex = 155
asr1004#
I can also confirm this with SNMP:
$ snmpget -v 2c -c public asr1004 ifDescr.155
IF-MIB::ifDescr.155 = STRING: TenGigabitEthernet1/1/0.260
$
However, for some reason, SNMP agent does not return the interface
index despite the fact that ifIndex 155(Te1/1/0.260) has a policy
associated with it:
$ snmpwalk -v 2c -c public asr1004 cbQosIfIndex | grep 155
$
For some other interfaces, with identical configuration, the
cbQosIfIndex query returns the ifIndex.
Is this a bug? Has anyone seen this before?
thanks,
Martin
More information about the cisco-nsp
mailing list