Snmp Ifindex Clear - 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

2 . 2
Chapter 2

snmp ifindex clear

To clear any previously configured snmp ifindex commands that were entered for a specific interface,
use the snmp ifindex clear command.
Syntax Description
This command has no arguments or keywords.
Command Default
This command has no default settings.
Command Modes
Interface configuration mode
Command History
Release
12.1(19)EW
Usage Guidelines
Interface index persistence occurs when ifIndex values in the interface MIB (IF-MIB) persist across
reboots and allow for consistent identification of specific interfaces using SNMP.
Use the snmp ifindex clear command on a specific interface when you want that interface to use the
global configuration setting for ifIndex persistence. This command clears any ifIndex configuration
commands previously entered for that specific interface.
Examples
The following example shows how to enable ifIndex persistence for all interfaces:
Router(config)# snmp-server ifindex persist
The following example shows how to disable IfIndex persistence for FastEthernet 1/1 only:
Router(config)# interface fastethernet 1/1
Router(config-if)# no snmp ifindex persist
Router(config-if)# exit
The following example shows how to clear the ifIndex configuration from the FastEthernet 1/1
configuration:
Router(config)# interface fastethernet 1/1
Router(config-if)# snmp ifindex clear
Router(config-if)# exit
As a result of this sequence of commands, ifIndex persistence is enabled for all interfaces that are
specified by the
snmp ifindex clear
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.
snmp ifindex clear
2-1013

Advertisement

Table of Contents
loading

Table of Contents