- Preface
- Product Overview
- Configuring the Router for the First Time
- Configuring a Supervisor Engine 720
- Configuring a Route Switch Processor 720
- Configuring NSF with SSO Supervisor Engine Redundancy
- ISSU and eFSU on Cisco 7600 Series Routers
- Configuring RPR and RPR+ Supervisor Engine Redundancy
- Configuring Interfaces
- Configuring a Supervisor Engine 32
- Configuring LAN Ports for Layer 2 Switching
- Configuring Flex Links
- Configuring EtherChannels
- Configuring VTP
- Configuring VLANs
- Configuring Private VLANs
- Configuring Cisco IP Phone Support
- Configuring IEEE 802.1Q Tunneling
- Configuring Layer 2 Protocol Tunneling
- Configuring L2TPv3
- Configuring STP and MST
- Configuring Optional STP Features
- Configuring Layer 3 Interfaces
- Configuring GTP-SLB IPV6 Support
- IP Subscriber Awareness over Ethernet
- Configuring UDE and UDLR
- Configuring Multiprotocol Label Switching on the PFC
- Configuring IPv4 Multicast VPN Support
- Configuring Multicast VPN Extranet Support
- Configuring IP Unicast Layer 3 Switching
- Configuring IPv6 Multicast PFC3 and DFC3 Layer 3 Switching
- Configuring IPv4 Multicast Layer 3 Switching
- Configuring MLDv2 Snooping for IPv6 Multicast Traffic
- Configuring IGMP Snooping for IPv4 Multicast Traffic
- Configuring PIM Snooping
- Configuring Network Security
- Understanding Cisco IOS ACL Support
- Configuring VRF aware 6RD Tunnels
- Configuring VLAN ACLs
- Private Hosts (Using PACLs)
- Configuring IPv6 PACL
- IPv6 First-Hop Security Features
- Configuring Online Diagnostics
- Configuring Denial of Service Protection
- Configuring DHCP Snooping
- Configuring Dynamic ARP Inspection
- Configuring Traffic Storm Control
- Unknown Unicast Flood Blocking
- Configuring PFC QoS
- Configuring PFC QoS Statistics Data Export
- Configuring MPLS QoS on the PFC
- Configuring LSM MLDP based MVPN Support
- Configuring IEEE 802.1X Port-Based Authentication
- Configuring IEEE 802.1ad
- Configuring Port Security
- Configuring UDLD
- Configuring NetFlow and NDE
- Configuring Local SPAN, RSPAN, and ERSPAN
- Configuring SNMP IfIndex Persistence
- Power Management and Environmental Monitoring
- Configuring Web Cache Services Using WCCP
- Using the Top N Utility
- Using the Layer 2 Traceroute Utility
- Configuring Bidirectional Forwarding and Detection over Switched Virtual Interface
- Configuring Call Home
- Configuring IPv6 Policy Based Routing
- Using the Mini Protocol Analyzer
- Configuring Resilient Ethernet Protocol
- Configuring Synchronous Ethernet
- Configuring Link State Tracking
- Configuring BGP PIC Edge and Core for IP and MPLS
- Configuring VRF aware IPv6 tunnels over IPv4 transport
- ISIS IPv4 Loop Free Alternate Fast Reroute (LFA FRR)
- Multicast Service Reflection
- Y.1731 Performance Monitoring
- Online Diagnostic Tests
- Acronyms
- Cisco IOS Release 15S Software Images
- Index
Configuring SNMP IfIndex Persistence
This chapter describes how to configure the SNMP ifIndex persistence feature on Cisco 7600 series routers.
Note For complete syntax and usage information for the commands used in this chapter, refer to the Cisco 7600 Series Routers Command References at this URL:
http://www.cisco.com/en/US/products/hw/routers/ps368/prod_command_reference_list.html
Understanding SNMP IfIndex Persistence
The SNMP ifIndex persistence feature provides an interface index (ifIndex) value that is retained and used when the router 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 router reboots, but many applications (for example, device inventory, billing, and fault detection) require maintenance of this correspondence.
You can poll the router 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.
Configuring SNMP IfIndex Persistence
These sections describe how to configure SNMP ifIndex persistence:
- Enabling SNMP IfIndex Persistence Globally (Optional)
- Enabling and Disabling SNMP IfIndex Persistence on Specific Interfaces (Optional)
Note To verify that ifIndex commands have been configured, use the more system:running-config command.
Enabling SNMP IfIndex Persistence Globally
SNMP ifIndex persistence is disabled by default. To globally enableSNMP ifIndex persistence, perform this task:
|
|
---|---|
In the following example, SNMP ifIndex persistence is enabled for all interfaces:
Disabling SNMP IfIndex Persistence Globally
To globally disable SNMP ifIndex persistence after enabling it, perform this task:
|
|
---|---|
In the following example, SNMP ifIndex persistence is disabled for all interfaces:
Enabling and Disabling SNMP IfIndex Persistence on Specific Interfaces
To enable SNMP ifIndex persistence only on a specific interface, perform this task:
|
|
|
---|---|---|
Router(config)# interface { vlan vlan_ID } | { type 1 slot/port } | { port-channel port_channel_number } |
||
Enables SNMP ifIndex persistence on the specified interface. |
||
Disables SNMP ifIndex persistence on the specified interface. |
||
|
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:
In the following example, SNMP ifIndex persistence is disabled for Ethernet interface 3/1 only:
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.