Cisco Cisco IOS Software Release 12.0(11)S

Page de 12
 
Interface Index Persistence
Configuration Tasks
4
Cisco IOS Release 12.0(11)S
To globally disable ifIndex persistence after enabling it, use the following command in global 
configuration mode:
Note
After issuing ifIndex persistence commands, the configuration must be saved using the 
copy running-config startup-config
 EXEC mode command to ensure consistent ifIndex 
values.
Enabling and Disabling IfIndex Persistence on Specific Interfaces
To enable ifIndex persistence only on a specific interface, use the following commands, starting in 
global configuration mode:
To disable ifIndex persistence only on a specific interface, use the following commands, starting in 
global configuration mode:
Command
Purpose
Router(config)# snmp-server ifindex persist
Globally enables ifIndex values which will remain 
constant across reboots.
Command
Purpose
Router(config)# no snmp-server ifindex persist
Disables global ifIndex persistence.
Command
Purpose
Step 1
Router(config)# interface type slot/port
Enters interface configuration mode for the 
specified interface. Note that the syntax of the 
interface command will vary depending on the 
platform you are using.
Step 2
Router(config-if)# snmp ifindex persist
Enables an ifIndex value which is constant across 
reboots on the specified interface.
Step 3
Router(config-if)# exit
Exits interface configuration mode.
Command
Purpose
Step 1
Router(config)# interface type slot/port
Enters interface configuration mode for the 
specified interface. Note that the syntax of the 
interface command will vary depending on the 
platform you are using.
Step 2
Router(config-if)# no snmp ifindex persist
Disables an ifIndex value which is constant across 
reboots on the specified interface.
Step 3
Router(config-if)# exit
Exits interface configuration mode.