Specifications
2-794
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738 -01
Chapter 2 Cisco 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. To disable if Index pe rsistence only on a
specific interface, use the no form of this comma nd.
snmp ifindex persist
no snmp ifindex persist
Syntax Description This command has no arguments or keywo rds.
Defaults Disabled.
Command Modes Interface configuration mode
Usage Guidelines I nterface index persistence occurs w hen ifIndex values in the IF-MIB persist a cross 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 corr espond to individual inte rfaces) in the ifIndex table of the IF-MIB.
The snmp-server ifindex persist global configuration command enabl es 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 exampl e shows how to enable ifIndex pe rsistence 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 interfac e 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 Command Description
snmp ifindex clear C lears any previously configu red snmp ifindex commands
that were entered for a specific interface.
snmp ifindex persist Enables ifIndex values in the Interfaces MIB (IF-MIB) that
persist across reboots (ifI ndex persistence) on a specific
interface.