Enabling a MIB for QoS

Unanswered Question
Dec 9th, 2009

Correct me of Im wrong, but whenever one enables a certain technology or protocol on a Cisco device, the option exists to monitor the behavior through SNMP.

The example I am concerned with in particular is MQC QoS.

I have read in many documents that Cisco has an SNMP MIB for MQC QoS, but how does one go about enabling that MIB so that an NMS station can leverage it to monitor....

I would think that one would have to enable the traps under the "snmp-server" set of congiurations, but no matter what version of code I use to check, there is never an option for enabling MQC QoS traps, even though the technology is configurable on the device.


3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
3(config)#snmp-server enable traps ?
  alarms            Enable SNMP alarms traps
  atm               Enable SNMP atm traps
  bgp               Enable BGP traps
  bridge            Enable SNMP STP Bridge MIB traps
  bulkstat          Enable Data-Collection-MIB Collection notifications
  c6kxbar           Enable SNMP CISCO-CAT6K-CROSSBAR-MIB traps
  call-home         Enable SNMP CISCO-CALLHOME-MIB traps
  casa              Enable SNMP casa traps
  cef               Enable SNMP CEF traps
  chassis           Enable SNMP chassis traps
  config            Enable SNMP config traps
  config-copy       Enable SNMP config-copy traps
  config-ctid       Enable SNMP config-ctid traps
  cpu               Allow cpu related traps
  csg               Enable SNMP CSG traps
  dhcp              Enable SNMP dhcp traps
  dot1x             Enable SNMP dot1x traps
  ds1               Enable SNMP DS1 traps
  eigrp             Enable SNMP EIGRP traps
  entity            Enable SNMP entity traps
  envmon            Enable SNMP environmental monitor traps
  ether-oam         Enable SNMP ethernet oam traps
  ethernet          Enable SNMP Ethernet traps
  event-manager     Enable SNMP Embedded Event Manager traps
  flash             Enable SNMP FLASH notifications
  flex-links        Enable SNMP FLEX Links traps
  frame-relay       Enable SNMP frame-relay traps
  fru-ctrl          Enable SNMP entity FRU control traps
  hsrp              Enable SNMP HSRP traps
  ipmulticast       Enable SNMP ipmulticast traps
  ipsec             Enable IPsec traps
  isakmp            Enable ISAKMP traps traps
  isis              Enable IS-IS traps
  l2tun             Enable SNMP L2 tunnel protocol traps
  mac-notification  Enable SNMP MAC Notification traps
  memory            Enable SNMP Memory traps
  module            Enable SNMP module traps
  mpls              Enable SNMP MPLS traps
  msdp              Enable SNMP MSDP traps
  mvpn              Enable Multicast Virtual Private Networks traps
  ospf              Enable OSPF traps
  pim               Enable SNMP PIM traps
  port-security     Enable SNMP port security traps
  pppoe             Enable SNMP pppoe traps
  pw                Enable SNMP PW traps
  rep               Enable SNMP Resilient Ethernet Protocol Traps
  resource-policy   Enable CISCO-ERM-MIB notifications
  rf                Enable all SNMP traps defined in CISCO-RF-MIB
  rsvp              Enable RSVP flow change traps
  rtr               Enable SNMP Response Time Reporter traps
  slb               Enable SNMP SLB traps
  snmp              Enable SNMP traps
  sonet             Enable SNMP SONET traps
  stpx              Enable SNMP STPX MIB traps
  syslog            Enable SNMP syslog traps
  transceiver       Enable SNMP transceiver traps
  tty               Enable TCP connection traps
  vlan-mac-limit    Enable SNMP L2 Control VLAN MAC Limit notifications
  vlancreate        Enable SNMP VLAN created traps
  vlandelete        Enable SNMP VLAN deleted traps
  vtp               Enable SNMP VTP traps

3(config)#snmp-server enable traps


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
luijimen Mon, 12/14/2009 - 15:37


The first thing to do to enable SNMP, is to configure a community string (for SNMPv2c and SNMPv1). Most platforms accept the following command:

# snmp-server community test ro

where, 'test' is the community name and 'ro' stands for read-only. More info on the IOS syntax is here:


Some SNMP setup configuration examples can be found here as well:


Now, for the QoS functionality, it is mostly kept inside the CISCO-CLASS-BASED-QOS-MIB (.

Once your device is enabled for SNMP access, you should be able to query the MIB above for some QoS information.

The amount of data in this mib is quite large, so it basically depends on what information you want to get.

For example:

cbQosServicePolicyTable gets you:
the interfaces/media types and the policymap that are attached to it.
cbQosATMPVCPolicyTable gets you:
the policies that are attached to a ATM PVC.
cbQosPolicyMapCfgTable gets you: the Policymap configuration information.

cbQosCMStatsTable gets you: ClassMap related Statistical information.
cbQosQueueingStatsTable gets you: Queueing Action related Statistical information.

So as you can see, there is a big amount of info you can get off your device for QoS.

Perhaps a CLI command used would help narrow down the objects needed.

Hope this helps.

luijimen Mon, 12/14/2009 - 15:48

Sorry, forgot to comment on the SNMP QoS traps. Unfortunately, there are no native QoS traps available at the moment.

However, RMON could be used to monitor specific OIDs in the CISCO-CLASS-BASED-QOS-MIB so an RMON trap can be sent whenever the value reaches a specified threshold.

Info on RMON config can be found here: http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_cfg_rmon_sup_ps6350_TSD_Products_Configuration_Guide_Chapter.html


This Discussion