The display mib-index interface command displays the index value of an interface in the MIB.
| Parameter | Description | Value |
|---|---|---|
| interface | Searches the index value of a specified interface. | - |
| interface-type | Specifies the type of an interface. | If the interface type is not specified, the index values of all interfaces are displayed. |
| interface-number | Specifies the number of an interface. | The interface number and the interface type identify an interface together. If the interface number is not specified, the index values of all the interfaces that belong to this type are displayed. |
You can use the display mib-index interface command to view the values of the interface indexes. In this manner, a Network Management System (NMS) user can view the interface indexes that correspond to the interface names.
# Query the indexes of all interfaces.
<sysname> display mib-index interface IfName IfIndex PortIndex -------------------------------------------------- Eth-Trunk1 60 -- GigabitEthernet0/0/0 4 -- NULL0 2 -- Tunnel1 41 -- Virtual-Template0 7 -- Vlanif1 70 --
Item |
Description |
|---|---|
IfName |
Interface name |
IfIndex |
Value of the interface index |
PortIndex |
Value of the port index |