Cisco Cisco IOS Software Release 12.4(6)T

Page of 16
 
OSPF: SNMP ifIndex Value for Interface ID in OSPFv2 and OSPFv3 Data Fields
  Configuration Examples for OSPF: SNMP ifIndex Value for Interface ID in OSPFv2 and OSPFv3 Data Fields
4
Cisco IOS Release: Multiple releases
DETAILED STEPS
Configuration Examples for OSPF: SNMP ifIndex Value for 
Interface ID in OSPFv2 and OSPFv3 Data Fields 
This section contains the following examples:
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode. 
Enter your password if prompted.
Step 2
configure
 terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
router ospf 
process-id [vrf vpn-name]
or
ipv6 router ospf
 process-id
Example:
Router(config)# router ospf 4
or
Router(config)# ipv6 router ospf 4
Configures an OSPFv2 routing process and enters router 
configuration mode.
Configures an OSPFv3 routing process and enters router 
configuration mode.
Step 4
interface-id snmp-if-index
Example:
Router(config-router)# interface-id 
snmp-if-index
Configures OSPF interfaces with the SNMP interface index 
identification numbers (ifIndex values).
Step 5
end
Example:
Router(config-router)# end
Returns to privileged EXEC mode.
Step 6
show snmp mib ifmib ifindex
 [interface-type
[slot/][port-adapter/][port]
Example:
Router# show snmp mib ifmib ifindex 
Ethernet 0/1
Displays SNMP interface index identification numbers 
(ifIndex values) for all the system interfaces or the specified 
system interface.