Discussion:
[c-nsp] Cisco ASR1004 running IOS 12.2(33)XNF2 does not return SNMP cbQosIfIndex
Martin T
2018-10-11 14:11:56 UTC
Permalink
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
_______________________________________________
cisco-nsp mailing list cisco-***@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
James Bensley
2018-10-12 08:30:16 UTC
Permalink
Post by Martin T
Hi!
Hi Martin,
Post by Martin T
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
...
Post by Martin T
Is this a bug? Has anyone seen this before?
**rubs eyes** Whaa!

The oldest IOS-XE version I can see for download
(https://software.cisco.com/download/home/281782372/type/282046477/release/3.2.1S?i=!pp
) for the ASR1004 is form Feb 2011 - your code version pre-dates that
so I can only image how old it is. I would bet you a round of drinks
its a bug. So the obvious question, do you have the capability to test
on a newer code version?

Cheers,
James.
_______________________________________________
cisco-nsp mailing list cisco-***@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
Nick Hilliard
2018-10-12 09:26:55 UTC
Permalink
Post by James Bensley
Post by Martin T
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
...
Post by Martin T
Is this a bug? Has anyone seen this before?
**rubs eyes** Whaa!
Cisco IOS Software, IOS-XE Software (PPC_LINUX_IOSD-ADVIPSERVICESK9-M), Version 12.2(33)XNF2, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Wed 07-Jul-10 01:19 by mcpre
Upgrading would probably be a good idea to start with.

Nick
_______________________________________________
cisco-nsp mailing list cisco-***@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
Martin T
2018-10-12 14:08:01 UTC
Permalink
Post by James Bensley
Post by Martin T
Hi!
Hi Martin,
Post by Martin T
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
...
Post by Martin T
Is this a bug? Has anyone seen this before?
**rubs eyes** Whaa!
The oldest IOS-XE version I can see for download
(https://software.cisco.com/download/home/281782372/type/282046477/release/3.2.1S?i=!pp
) for the ASR1004 is form Feb 2011 - your code version pre-dates that
so I can only image how old it is. I would bet you a round of drinks
its a bug. So the obvious question, do you have the capability to test
on a newer code version?
Cheers,
James.
Quinn, James, Nick,

unfortunately, I don't have a spare ASR1004. However, I'm also pretty
confident that this is indeed a bug. Thanks!


Martin
_______________________________________________
cisco-nsp mailing list cisco-***@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Loading...