Table 21-1, Determining the – Cisco 15327 User Manual
Page 362
21-18
Ethernet Card Software Feature and Configuration Guide, R7.2
Chapter 21 Configuring RMON
Determining the ifIndex Number for an ML-Series Card
2005-03-22 16:25:38 ptlm9-454e56-97.cisco.com [10.92.56.97]:
SNMPv2-MIB:sysUpTime.0 = Wrong Type (should be Timeticks): 43026500
SNMPv2-MIB:snmpTrapOID.0 = OID: RMON-MIB:risingAlarm
RFC1271-MIB:alarmIndex.9 = 9
RFC1271-MIB:alarmVariable.9 = OID: IF-MIB:ifInErrors.983043
RFC1271-MIB:alarmSampleType.9 = deltaValue(2)
RFC1271-MIB:alarmValue.9 = 1002
RFC1271-MIB:alarmRisingThreshold.9 = 1000
SNMPv2-SMI:snmpModules.18.1.3.0 = IpAddress: 10.92.56.97
Determining the ifIndex Number for an ML-Series Card
When an NMS polls an ML-Series card for performance data, the NMS uses ifIndex numbers internally
to consolidate interface data from multiple MIBs and associate this data with an interface name. The user
can rely on the interface name and does not need to know the actual ifIndex number.
When you use the Cisco IOS CLI to configure the ML-Series card to generate traps directly, you do not
have this associated name to use. You must use the actual ifIndex number for each interface being
configured with a trap. To determine the actual ifIndex number, you can use an NMS to retrieve the
ifIndex number of each ML-Series card interface and VLAN subinterface, or you can calculate the
ifIndex number for the interface.
The user can also use a MIB browser (SNMP MIB definition lookup service) to examine the ifDescr for
the appropriate ifIndex number. The ifIndex number from the ifDescr must be the ifIndex number for the
desired port.
On an ML-Series card, the ifIndex number of Ethernet and POS interfaces is compiled from two pieces
of information:
•
The chassis slot number of the card—The slot number is the number of the physical space in the
shelf that the ML-Series card resides in. It ranges from Slot 1 to Slot 6 or Slot 12 to Slot 17 on an
ONS 15454 SONET/SDH shelf. You can find this information in many ways, including through the
graphical representation of the shelf slots on CTC, or by looking at the front of the physical shelf.
•
A local port number within the card—Port numbers of the ML-Series cards for the
ONS 15454 SONET/SDH match the interface numbers for Fast Ethernet and Gigabit Ethernet
interfaces. POS port numbers do not match the interface numbers and do not consecutively follow
the Ethernet port numbering. A consecutive value is skipped between the last Ethernet port number
and the first POS number (POS Port 0). Port numbers for the interfaces are listed in
Table 21-1
Port Numbers for the Interfaces of ML-Series Cards
ML100T-12
FastEthernet
Interfaces
ML100T-12 POS
Interfaces
ML100X-8
FastEthernet
Interfaces
ML100X-8 POS
Interfaces
ML1000-2
Gigabit
Ethernet
Interfaces
ML1000-2 POS
Interfaces
FE 0 = Port 0
POS 0 = Port 13
FE 0 = Port 0
POS 0 = Port 9
GE 0 = Port 0 POS 0 = Port 3
FE 1 = Port 1
POS 1 = Port 14
FE 1 = Port 1
POS 1 = Port 10
GE 1 = Port 1 POS 1 = Port 4
FE 2 = Port 2
FE 2 = Port 2
FE 3 = Port 3
FE 3 = Port 3
FE 4 = Port 4
FE 4 = Port 4
FE 5 = Port 5
FE 5 = Port 5
FE 6 = Port 6
FE 6 = Port 6