Monitor QoS Policy on Cisco Router using SNMP
March 23rd, 2017
No comments
This recipe describes how to use SNMP to determine the traffic offered and drop rate for a QoS policy configured on a Cisco router.
The steps here describe which OIDs to interrogate in the CISCO-CLASS-BASED-QOS-MIB
STEP 1:
Get the SNMP ifIndex for the interface where the QoS policy is attached:
CiscoRouter#sh snmp mib ifmib ifindex | i GigabitEthernet0/1
GigabitEthernet0/1: Ifindex = 22
(or by using SNMP):
root@Linux# snmpwalk -v2c -c communityname 10.0.200.12 1.3.6.1.2.1.2.2 | grep -i GigabitEthernet0/1
RFC1213-MIB::ifDescr.22 = STRING: “GigabitEthernet0/1” Read more…