Snmp Ifindex Persist - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

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.
Defaults
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
This 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
This 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
OL-25342 -01
snmp ifindex persist
no snmp ifindex persist
Modification
Support for this command was introduced on the Catalyst 4500 series switches.
snmp-server ifindex persist
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
global configuration command enables and disables ifIndex
snmp ifindex persist
2-925

Advertisement

Table of Contents
loading

Table of Contents