Configuring SNMP IfIndex Persistence
Note
To verify that ifIndex commands have been configured, use the more system:running-config command.
Enabling and Disabling 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
To globally disable SNMP ifIndex persistence after enabling it, perform this task:
Command
Router(config)# no snmp-server ifindex persist
Enabling and Disabling SNMP IfIndex Persistence on Specific Interfaces
To enable SNMP ifIndex persistence only on a specific interface, perform this task:
Command
Step 1
Router(config)# interface {vlan vlan_ID} |
1
{type
slot/port} | {port-channel
port_channel_number}
Step 2
Router(config-if)# snmp ifindex persist
Router(config-if)# no snmp ifindex persist
Step 3
Router(config-if)# exit
1.
type = any supported interface type.
Note
The no snmp ifindex persistence interface command cannot be used on subinterfaces. A command
applied to an interface is automatically applied to all the subinterfaces associated with that interface.
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
36-2
Chapter 36
Purpose
Globally enables SNMP ifIndex persistence.
Purpose
Globally disables SNMP ifIndex persistence.
Purpose
Selects an interface to configure.
Enables SNMP ifIndex persistence on the specified
interface.
Disables SNMP ifIndex persistence on the specified
interface.
Exits interface configuration mode.
Configuring SNMP IfIndex Persistence
78-14064-04