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. And see here for current known issues.

New Member

Read QOS statistics with SNMP

Hello, I would like to read Qos statistics using a MIB Browser SNMP on a 3750. I woulf like to get the info that you get with command "sh mls qos interface gigabitEthernet 1/0/1 statistics" let say number of output packet with DSCP=48.

I think I have to query "cportQosDscpEgressPkts" on CISCO-PORT-QoS-MIB isn't ?

How is built the OID for a particular interface for a particula DSP value .... I'm on the right directrion ?

Everyone's tags (1)
1 REPLY
New Member

Re: Read QOS statistics with SNMP

The OID for "cportQosDscpEgressPkts" seams to be .1.3.6.1.4.1.9.9.189.1.3.8.1.4 but with

snmpwalk -c "comstring" -v 2c "SwitchIP" .1.3.6.1.4.1.9.9.189.1.3.8.1.4

                                                             

I get this error messages


SNMPv2-SMI::enterprises.9.9.189.1.3.8.1.4 = No Such Object available on this agent at this OID

and on the Switch debug output:

Jun  1 06:34:47.112: SNMP: Packet received via UDP from XX.XX.XX.XX on VlanXXX
Jun  1 06:34:47.112: SNMP: Get request, reqid 1063020633, errstat 0, erridx 0 cportQosStatistics.8.1.2 = NULL TYPE/VALUE
Jun  1 06:34:47.112: SNMP: Response, reqid 1063020633, errstat 0, erridx 0 cportQosStatistics.8.1.2 = NO_SUCH_OBJECT_EXCEPTION
Jun  1 06:34:47.112: SNMP: Packet sent via UDP to XX.XX.XX.XX

the switch is a C3750 with IPSERVICESK9-M, Version 12.2(46)SE installed.

Any idea why I'm not able to get this OID ?

1135
Views
0
Helpful
1
Replies