Snmp Ifindex Persist - Cisco Catalyst 4500 Series Configuration Manual

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2

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 ifIndex persistence only on a
specific interface, use the no form of this command.
Syntax Description
This command has no arguments or keywords.
Command Default
Disabled.
Command Modes
Interface configuration mode
Command History
Release
12.1(19)EW
Usage Guidelines
Interface index persistence occurs when ifIndex values in the IF-MIB persist across 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 correspond to individual interfaces) in the ifIndex table of the IF-MIB.
The
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
The following example shows how to enable ifIndex persistence for interface FastEthernet 1/1 only:
Router(config)# interface fastethernet 1/1
Router(config-if)# snmp ifindex persist
Router(config-if)# exit
The following example shows how to enable ifIndex persistence for all interfaces, and then disable
ifIndex persistence for interface 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
snmp ifindex persist
no snmp ifindex persist
Modification
This command was introduced on the Catalyst 4500 series switches.
snmp-server ifindex persist
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
global configuration command enables and disables ifIndex
snmp ifindex persist
2-1015

Advertisement

Table of Contents
loading

Table of Contents