Snmp Ifindex Clear - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

2 2
Chapter2
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
Related Commands
snmp ifindex persist
snmp-server ifindex persist
78-16201-01
snmp ifindex clear
Modification
Support for this command was introduced on the Catalyst4500 series switches.
snmp-server ifindex persist
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
global configuration command.
snmp ifindex clear
2-413

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents