SNMPWALK For Serial Interface Utilizatio
SNMPWALK For Serial Interface Utilizatio
Introduction
Prerequisites
Requirements
Components Used
Background
Configure
Configuration on the router
Workaround:
Related Information
Related Cisco Support Community Discussions
Introduction
This document describes how to perform Simple Network Management Protocol (SNMP) Walk for
Serial Interface Utilization on Cisco Routers.
Prerequisites
Requirements
Cisco recommends that you meet these requirements before you attempt this configuration:
Components Used
This document is created using a Cisco 1941 router with VWIC2-1MFT-T1/E1. However, this
document is not restricted to specific software and hardware versions.
The information in this document was created from the devices in a specific lab environment. All of
the devices used in this document started with a cleared (default) configuration. If your network is
live, make sure that you understand the potential impact of any command.
Background
This document helps a technician to understand why SNMP walk to poll Serial Interface Utilization
using ifHCInOctets and ifHCOutOctets does not work and what is the workaround in such
situations.
Configure
Note: Use the Command Lookup Tool (registered customers only) in order to obtain more
information on the commands used in this section.
A sample of the configuration on Cisco 1941 router on which we poll ifHCInOctets / ifHCOutOctets
on the serial interface of VWIC2-1MFT-T1/E1 card:
ifHCInOctets: .1.3.6.1.2.1.31.1.1.1.6
ifHCOutOctets: .1.3.6.1.2.1.31.1.1.1.10
As we can see above, SNMP poll returns “No Such Instance currently exists at this OID” for serial
interface, while it returns the correct value for GigabitEthernet interface.
For Serial interfaces with speeds/bandwidth less than 20 Mbps, HC counters for Octets are not
implemented. Hence it is expected that SNMP polling returns "no such instance" error.
Workaround:
Use 32bit version – ifOutOctets/ ifInOctets. This works with both SNMPv2 and SNMPv3 as shown
below:
ifOutOctets- 1.3.6.1.2.1.2.2.1.16
ifInOctets- 1.3.6.1.2.1.2.2.1.10
SNMPv2:
SNMPv3:
Related Information
• How To Calculate Bandwidth Utilization Using SNMP
• SNMP v3 configurations
• Frame Relay 64-Bit Counters
• MIB Locator
• Performance Management: Best Practices White Paper
• Technical Support - Cisco Systems