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…
IOS:
show snmp mib ifmib ifindex
IOS XR:
show snmp interface Read more…
SNMP v3
Download this capture file: ” snmp_usm ”
OR: view it now via Cloudshark
SNMPv3 provides a secure environment for the management of systems covering the following: Read more…
SNMP monitoring often references interfaces using the “ifindex”, in order to solicit information. Sometimes though, the ifindex can change or be slightly different to the actual interface number, for example: Read more…
MIB stands for Management Information Base and is a collection of information organised into a hierarchy. These are accessed using a protocol such as SNMP. There are two types of MIBs: scalar and tabular. Scalar objects define a single object instance whereas tabular objects define multiple related object instances grouped in MIB tables. Read more…