C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
SNMP Server Commands on Cisco IOS XR Software
snmp-server ifindex persist
SMR-612
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
snmp-server ifindex persist
To enable ifIndex persistence globally on all Simple Network Management Protocol (SNMP) interfaces,
use the
snmp-server
ifindex
persist
command in global configuration mode. To disable global interface
persistence, use the
no
form of this command.
snmp-server
ifindex
persist
no
snmp-server
ifindex
persist
Syntax Description
This command has no arguments or keywords.
Defaults
Global interface persistence is disabled.
Command Modes
Global configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Use the
snmp-server ifindex persist
command to enable ifIndex persistence on all interfaces that have
entries in the ifIndex table of the IF-MIB. When enabled, this command retains the mapping between
the ifName object values and the ifIndex object values (generated from the IF-MIB) persistent during
reloads, allowing for consistent identification of specific interfaces using SNMP. Applications such as
device inventory, billing, and fault detection depend on this feature.
Task ID
Examples
The following example shows how to enable ifIndex persistence globally:
RP/0/RP0/CPU0:Router(config)#
snmp-server ifindex persist
Related Commands
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
snmp
read, write
Command
Description
Enables ifIndex persistence for an SNMP interface.
notification linkupdown
disable
Disables linkUp and linkDown notifications for an SNMP interface.
Displays the ifIndex value for an SNMP interface.