- Index
- Preface
- Product Overview
- Virtual Switching Systems (VSS)
- Layer 2 LAN Port Configuration
- Flex Links
- EtherChannels
- IEEE 802.1ak MVRP and MRP
- VLAN Trunking Protocol (VTP)
- VLANs
- Private VLANs (PVLANs)
- Private Hosts
- IEEE 802.1Q Tunneling
- Layer 2 Protocol Tunneling
- Spanning Tree Protocols (STP, MST)
- Optional STP Features
- IP Unicast Layer 3 Switching
- Multiprotocol Label Switching (MPLS)
- MPLS VPN Support
- Ethernet over MPLS (EoMPLS)
- Virtual Private LAN Services (VPLS)
- Ethernet Virtual Connections (EVC)
- Layer 2 over Multipoint GRE (L2omGRE)
- IPv4 Multicast Layer 3 Features
- IPv4 Multicast IGMP Snooping
- IPv4 PIM Snooping
- IPv4 Multicast VLAN Registration (MVR)
- IPv4 IGMP Filtering
- IPv4 Router Guard
- IPv4 Multicast VPN Support
- IPv6 Multicast Layer 3 Features
- IPv6 MLD Snooping
- NetFlow Hardware Support
- Call Home
- System Event Archive (SEA)
- Backplane Platform Monitoring
- Local SPAN, RSPAN, and ERSPAN
- SNMP IfIndex Persistence
- Top-N Reports
- Layer 2 Traceroute Utility
- Mini Protocol Analyzer
- PFC QoS Overview
- PFC QoS Guidelines and Restrictions
- PFC QoS Classification, Marking, and Policing
- PFC QoS Policy Based Queueing
- PFC QoS Global and Interface Options
- AutoQoS
- MPLS QoS
- PFC QoS Statistics Data Export
- Cisco IOS ACL Support
- Cisco TrustSec (CTS)
- AutoSecure
- MAC Address-Based Traffic Blocking
- Port ACLs (PACLs)
- VLAN ACLs (VACLs)
- Policy-Based Forwarding (PBF)
- Denial of Service (DoS) Protection
- Control Plane Policing (CoPP)
- Dynamic Host Configuration Protocol (DHCP) Snooping
- IP Source Guard
- Dynamic ARP Inspection (DAI)
- Traffic Storm Control
- Unknown Unicast and Multicast Flood Control
- IEEE 802.1X Port-Based Authentication
- Configuring Web-Based Authentication
- Port Security
- Lawful Intercept
- Online Diagnostic Tests
- Migrating From a 12.2SX QoS Configuration
SNMP IfIndex Persistence
•Prerequisites for SNMP IfIndex Persistence
•Restrictions for SNMP IfIndex Persistence
•Information About SNMP IfIndex Persistence
•Default Settings for SNMP IfIndex Persistence
•How to Configure SNMP IfIndex Persistence
Note•For complete syntax and usage information for the commands used in this chapter, see these publications:
http://www.cisco.com/en/US/products/ps11845/prod_command_reference_list.html
•Cisco IOS Release 15.0SY supports only Ethernet interfaces. Cisco IOS Release 15.0SY does not support any WAN features or commands.
Tip For additional information about Cisco Catalyst 6500 Series Switches (including configuration examples and troubleshooting information), see the documents listed on this page:
http://www.cisco.com/en/US/products/hw/switches/ps708/tsd_products_support_series_home.html
Participate in the Technical Documentation Ideas forum
Prerequisites for SNMP IfIndex Persistence
None.
Restrictions for SNMP IfIndex Persistence
None.
Information About SNMP IfIndex Persistence
The SNMP ifIndex persistence feature provides an interface index (ifIndex) value that is retained and used when the switch reboots. The ifIndex value is a unique identifying number associated with a physical or logical interface.
There is no requirement in the relevant RFCs that the correspondence between particular ifIndex values and their interfaces be maintained when the switch reboots, but many applications (for example, device inventory, billing, and fault detection) require maintenance of this correspondence.
You can poll the switch at regular intervals to correlate the interfaces to the ifIndexes, but it is not practical to poll constantly. The SNMP ifIndex persistence feature provides permanent ifIndex values, which eliminates the need to poll interfaces.
The following definitions are based on RFC 2233, "The Interfaces Group MIB using SMIv2." The following terms are values in the Interfaces MIB (IF-MIB):
•ifIndex —A unique number (greater than zero) that identifies each interface for SNMP identification of that interface.
•ifName—The text-based name of the interface, for example, "ethernet 3/1."
•ifDescr—A description of the interface. Recommended information for this description includes the name of the manufacturer, the product name, and the version of the interface hardware and software.
Default Settings for SNMP IfIndex Persistence
SNMP ifIndex persistence is disabled by default.
How to Configure SNMP IfIndex Persistence
•Enabling SNMP IfIndex Persistence Globally
•Enabling and Disabling SNMP IfIndex Persistence on Specific Interfaces
Enabling SNMP IfIndex Persistence Globally
To globally enableSNMP ifIndex persistence, perform this task:
|
|
---|---|
Router(config)# snmp-server ifindex persist |
Globally enables SNMP ifIndex persistence. |
In the following example, SNMP ifIndex persistence is enabled for all interfaces:
router(config)# snmp-server ifindex persist
Disabling SNMP IfIndex Persistence Globally
To globally disable SNMP ifIndex persistence after enabling it, perform this task:
|
|
---|---|
Router(config)# no snmp-server ifindex persist |
Globally disables SNMP ifIndex persistence. |
In the following example, SNMP ifIndex persistence is disabled for all interfaces:
router(config)# no snmp-server ifindex persist
Enabling and Disabling SNMP IfIndex Persistence on Specific Interfaces
To enable SNMP ifIndex persistence only on a specific interface, perform this task:
Note The [no] snmp ifindex persistence interface command cannot be used on subinterfaces. A command applied to an interface is automatically applied to all the subinterfaces associated with that interface.
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
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
Clearing SNMP IfIndex Persistence Configuration from a Specific Interface
To clear the interface-specific SNMP ifIndex persistence setting and configure the interface to use the global configuration setting, perform this task:
In the following example, any previous setting for SNMP ifIndex persistence on Ethernet interface 3/1 is removed from the configuration. If SNMP ifIndex persistence is globally enabled, SNMP ifIndex persistence will be enabled for Ethernet interface 3/1. If SNMP ifIndex persistence is globally disabled, SNMP ifIndex persistence will be disabled for Ethernet interface 3/1.
router(config)# interface ethernet 3/1
router(config-if)# snmp ifindex clear
router(config-if)# exit
Tip For additional information about Cisco Catalyst 6500 Series Switches (including configuration examples and troubleshooting information), see the documents listed on this page:
http://www.cisco.com/en/US/products/hw/switches/ps708/tsd_products_support_series_home.html
Participate in the Technical Documentation Ideas forum