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):
•
•
•
Configuring SNMP IfIndex Persistence
These sections describe how to configure SNMP ifIndex persistence:
•
•
To verify that ifIndex commands have been configured, use the more system:running-config command.
Note
Enabling SNMP IfIndex Persistence Globally
SNMP ifIndex persistence is disabled by default. To globally enableSNMP ifIndex persistence, perform
this task:
Command
Router(config)# snmp-server ifindex persist
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:
Command
Router(config)# no snmp-server ifindex persist
In the following example, SNMP ifIndex persistence is disabled for all interfaces:
router(config)# no snmp-server ifindex persist
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
53-2
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.
Enabling SNMP IfIndex Persistence Globally, page 53-2
Enabling and Disabling SNMP IfIndex Persistence on Specific Interfaces, page 53-3
Chapter 53
(Optional)
Purpose
Globally enables SNMP ifIndex persistence.
Purpose
Globally disables SNMP ifIndex persistence.
Configuring SNMP IfIndex Persistence
(Optional)
OL-4266-08