53-2
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 53 Configuring SNMP IfIndex Persistence
Configuring SNMP IfIndex Persistence
The following definitions are based on RFC 2233, “The Interfaces Group MIB using SMIv2.” The
following terms are values in the Interfaces MIB (IF-MIB):
•
ifIndex
—A unique number (greater than zero) that identifies each interface for SNMP
identification of that interface.
•
ifName
—The text-based name of the interface, for example, “ethernet 3/1.”
•
ifDescr—
A description of the interface. Recommended information for this description includes the
name of the manufacturer, the product name, and the version of the interface hardware and software.
Configuring SNMP IfIndex Persistence
These sections describe how to configure SNMP ifIndex persistence:
•
Enabling SNMP IfIndex Persistence Globally, page 53-2
(Optional)
•
Enabling and Disabling SNMP IfIndex Persistence on Specific Interfaces, page 53-3
(Optional)
Note
To verify that ifIndex commands have been configured, use the
more system:running-config
command.
Enabling SNMP IfIndex Persistence Globally
SNMP ifIndex persistence is disabled by default. To globally enableSNMP ifIndex persistence, perform
this task:
In the following example, SNMP ifIndex persistence is enabled for all interfaces:
router(config)#
snmp-server ifindex persist
Disabling SNMP IfIndex Persistence Globally
To globally disable SNMP ifIndex persistence after enabling it, perform this task:
In the following example, SNMP ifIndex persistence is disabled for all interfaces:
router(config)#
no snmp-server ifindex persist
Command
Purpose
Router(config)#
snmp-server ifindex persist
Globally enables SNMP ifIndex persistence.
Command
Purpose
Router(config)#
no snmp-server ifindex persist
Globally disables SNMP ifIndex persistence.