Cisco Systems EA6500 Manual De Usuario

Descargar
Página de 570
 
36-3
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
78-14099-04
Chapter 36      Configuring SNMP IfIndex Persistence
Configuration Examples
To clear the interface-specific SNMP ifIndex persistence setting and configure the interface to use the 
global configuration setting, perform this task:
Configuration Examples
This section provides the following configuration examples:
  •
  •
  •
  •
Enabling SNMP IfIndex Persistence on All Interfaces Example
In the following example, SNMP ifIndex persistence is enabled for all interfaces:
router(config)# snmp-server ifindex persist
Enabling SNMP IfIndex Persistence on a Specific Interface Example
In the following example, SNMP ifIndex persistence is enabled for Ethernet interface 3/1 only:
router(config)# interface ethernet 3/1
router(config-if)# snmp ifindex persist
router(config-if)# exit
Disabling SNMP IfIndex Persistence on a Specific Interface Example
In the following example, SNMP ifIndex persistence is disabled for Ethernet interface 3/1 only:
router(config)# interface ethernet 3/1
router(config-if)# no snmp ifindex persist
router(config-if)# exit
Command
Purpose
Step 1
Router(config)# interface type slot/port 
Enters interface configuration mode for the specified 
interface. Note that the syntax of the interface command 
will vary depending on the platform you are using.
Step 2
Router(config-if)# snmp ifindex clear 
Clears any interface-specific SNMP ifIndex persistence 
configuration for the specified interface and returns to the 
global configuration setting.
Step 3
Router(config-if)# exit 
Exits interface configuration mode.