Interface ID2 to ifIndex lookup table

The Interface ID2 to ifIndex lookup table is useful for mapping a known interface to the corresponding ifIndex value. If the provides an interface ID2, this table returns the ifIndex value.

Note: The contents of the interface ID2 to ifIndex lookup table can only be accessed using GET operations. Unlike other SNMP tables, this table does not support GET-NEXT operations. If you try to walk the table using GET-NEXT, no rows will be returned.

Name, OID, and syntax

Access

Description

snInterfaceLookup2Table

1.3.6.1.4.1.1991.1.1.3.3.7

None

The Interface ID2 to ifIndex lookup table.

snInterfaceLookup2InterfaceId

1.3.6.1.4.1.1991.1.1.3.3.7.1.1

Syntax: InterfaceId

Read-only

Shows the interface ID, which consists of the following:

Octet 0 - Port type, which can be one of the following:

  • 1 - Ethernet
  • 2 - POS
  • 3 - ATM
  • 4 - Virtual
  • 5 - Loopback
  • 6 - GRE Tunnel
  • 7 - ATM Subif
  • 8 - MPLS Tunnel
  • 9 - ATM PVC
  • 10 - Management
  • 11 - Trunk
  • 12 - IP Tunnel (for IP tunnels, except MPLS).

Octet 1

  • If the value of Octet 0 is 1, then this octet shows the unit number of the device.

  • If the value of Octet 0 is 2, 3, 7, or 9, then this octet shows the slot number of the device.

    Note: These options are not supported for RUCKUS ICX products.

Octet 2 -If the value of Octet 0 is 1, then this octet shows the slot number.

If the value of Octet 0 is 2, 3, 7, or 9, then this octet shows the port number.

Octet 3 - If the value of Octet 0 is 1, then this octet shows the port number.

If the value of Octet 0 is 7 or 9, then this octet shows the ATM Subif number.

Octet 4 - If the value of Octet 0 is 9, then this octet shows the ATM VPI number.

Octet 5 - If the value of Octet 0 is 9, then this octet shows the ATM VCI number.

snInterfaceLookup2IfIndex

1.3.6.1.4.1.1991.1.1.3.3.7.1.2

Syntax: Integer32

Read-only

Shows the interface in the ifIndex format.