Interface ID to ifIndex lookup table

Given an interface ID, the interface ID to ifIndex lookup table returns the ifIndex value. The table is useful for mapping a known interface to the corresponding ifIndex value. The contents of the interface ID 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

snInterfaceLookupTable

1.3.6.1.4.1.1991.1.1.3.3.3

None

The Interface ID to ifIndex lookup table.

snInterfaceLookupInterfaceId

1.3.6.1.4.1.1991.1.1.3.3.3.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

Octet 1

  • If the value of Octet 0 is 1, 2, 3, 7, or 9, then this octet shows the slot number of the device.
  • If the value of Octet 0 is 6 or 8, then this octet shows the tunnel ID.
  • If the value of Octet 0 is 5, then this octet shows the loopback ID.
  • If the value of Octet 0 is 4, then this octet shows a virtual ID.

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

Octet 3 - 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.

snInterfaceLookupIfIndex

1.3.6.1.4.1.1991.1.1.3.3.3.1.2

Syntax: Integer32

Read-only

Shows the interface in the ifIndex format.