2-414
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
snmp ifindex persist
snmp ifindex persist
To enable ifIndex values in the Interfaces MIB (IF-MIB) that persist across reboots (ifIndex persistence)
on a specific interface, use the snmp ifindex persist command. Use the no form of this command to
disable ifIndex persistence only on a specific interface.
snmp ifindex persist
no snmp ifindex persist
Syntax Description This command has no arguments or keywords.
Defaults Disabled.
Command Modes Interface configuration mode
Command History
Usage Guidelines Interface index persistence occurs when ifIndex values in the IF-MIB persist across reboots and allow
for consistent identification of specific interfaces using SNMP.
The snmp ifindex persist interface configuration command enables and disables ifIndex persistence for
individual entries (that correspond to individual interfaces) in the ifIndex table of the IF-MIB.
The snmp-server ifindex persist global configuration command enables and disables ifIndex
persistence for all interfaces on the routing device. This action applies only to interfaces that have
ifDescr and ifIndex entries in the ifIndex table of the IF-MIB.
Examples This example shows how to enable ifIndex persistence for interface FastEthernet 1/1 only:
Router(config)# interface fastethernet 1/1
Router(config-if)# snmp ifindex persist
Router(config-if)# exit
This example shows how to enable ifIndex persistence for all interfaces, and then disable ifIndex
persistence for interface FastEthernet 1/1 only:
Router(config)# snmp-server ifindex persist
Router(config)# interface fastethernet 1/1
Router(config-if)# no snmp ifindex persist
Router(config-if)# exit
Related Commands snmp ifindex clear
snmp-server ifindex persist
Release Modification
12.1(19)EW Support for this command was introduced on the Catalyst4500 series switches.