< Home

display mib-index interface

Function

The display mib-index interface command displays the index value of an interface in the MIB.

Format

display mib-index interface [ interface-type [ interface-number ] ]

Parameters

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.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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        -- 
Table 1 Description of the display mib-index interface command output

Item

Description

IfName

Interface name

IfIndex

Value of the interface index

PortIndex

Value of the port index

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >