The display mib-index interface command displays interface indexes in a management information base (MIB).
Parameter | Description | Value |
---|---|---|
interface-type |
Displays the index value of an interface with a specified type in a MIB. ifType specifies the type of an interface, such as an Ethernet interface. ifNum specifies the interface number, which is used together with ifType to specify an interface. If the ifNum is not specified, the index values of all interfaces of the type are displayed. |
- |
interface-number |
Displays the index value of an interface with a specified number in a MIB. ifType specifies the type of an interface, such as an Ethernet interface. ifNum specifies the interface number, which is used together with ifType to specify an interface. If the ifNum is not specified, the index values of all interfaces of the type are displayed. |
- |
interface-name |
Specifies the name of an interface. |
The value is a string of 1 to 63 case-sensitive characters, spaces not supported. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mib-index interface IfName IfIndex PortIndex --------------------------------------------------- Eth-Trunk1 774 0 GigabitEthernet0/1/0 201326849 -- GigabitEthernet0/1/1 201326977 -- NULL0 402653446 --
Item | Description |
---|---|
IfName | Name of an interface. |
IfIndex | Index value of an interface. |
PortIndex | Index value of a port. |