Snmp Ifindex Clear - Cisco Catalyst 4500 Series Command Reference Manual

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

Advertisement

2 . 2
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

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.
Defaults
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
This example shows how to enable ifIndex persistence for all interfaces:
Router(config)# snmp-server ifindex persist
This 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
This 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
OL-25342 -01
snmp ifindex clear
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.
snmp ifindex clear
2-923

Advertisement

Table of Contents
loading

Table of Contents