![Cisco ASR 14000 Series Management Command Reference Download Page 579](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667579.webp)
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
index persistence
SMR-577
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
index persistence
To enable index persistency on an Simple Network Management Protocol (SNMP) interface, use the
index persistence
command in SNMP interface configuration mode. To restore the default conditions
with respect to this command, use the
no
form of this command.
index
persistence
no index
persistence
Syntax Description
This command has no arguments or keywords.
Defaults
Index persistency is disabled.
Command Modes
SNMP interface 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.
Issue the
index
persistence
command to enable ifIndex persistence for individual entries (corresponding
to individual interfaces) in the ifIndex table of the IF-MIB. IfIndex persistence retains the mapping
between the ifName object values and the ifIndex object values (generated from the IF-MIB) across
reboots, allowing for consistent identification of specific interfaces using SNMP.
Task ID
Examples
The following example shows how to assign ifIndex persistence on Packet-over-SONET/SDH (POS)
interface 0/0/1/0:
RP/0/RP0/CPU0:Router(config)#
snmp-server interface pos 0/0/1/0
RP/0/RP0/CPU0:Router(config-snmp-if)#
index persistence
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
Displays the ifIndex value for an SNMP interface.
Specifies the identification number of the local SNMP engine.