display ip interface description [ interface-type [ interface-number ] | interface-type &<1-8> | slot slot-number [ card card-number ] ]
Parameter | Description | Value |
---|---|---|
interface-type | Indicates the interface type. If no interface type is specified, IP-related configurations and statistics of all interfaces are displayed. | - |
interface-number | Indicates the interface number, which is used together with interface-type to identify an interface. If no interface number is specified, IP-related configurations and statistics of interfaces in the same type are displayed. | - |
interface-type | Indicates that the command can display IP-related information about interfaces of multiple types. The command can display IP-related information about interfaces in a maximum of eight types. | - |
slot slot-number | Specifies the interface board number. | - |
card card-number | Indicates the card number. If no card number is specified, IP-related information about all interfaces on all cards in a specified slot is displayed. | - |
Usage Scenario
Instead of running the display ip interface brief and display interface description commands, you can run the display ip interface description command to view both IP-related information and description of an interface, which facilitates the user operation.
The display ip interface description command cannot display information about Layer 2 interfaces. When it runs on an Eth-Trunk interface, it displays the status and description of Eth-Trunk member interfaces.
# View IP-related information and description of a specified interface.
<HUAWEI> display ip interface description Codes: Ana(Analogmodem), Asy(Async), Cell(Cellular), Dia(Dialer), Eth(Ethernet) GE(GigabitEthernet), H(Hssi), Ima(Ima-group), Loop(LoopBack), MTun(MTunnel), S(Serial), Tun(Tunnel), VE(Virtual-Ethernet), VT(Virtual-Template) d(dampened), D(down), *D(administratively down) ^D(standby), l(loopback), s(spoofing), U(up) E(E-Trunk down) ------------------------------------------------------------------------------ Number of interfaces whose physical status is Up: 9 Number of interfaces whose physical status is Down: 1 Number of interfaces whose protocol status is Up: 9 Number of interfaces whose protocol status is Down: 1 Interface IP Address/Mask Phy Prot Description Loop0 10.3.0.2/32 U U(s) Loop1 unassigned U U(s) MEth0/0/1 192.168.150.143/24 U U NULL0 unassigned U U(s) Tun1 unassigned U D Vlanif10 unassigned D D Vlanif20 10.1.2.2/24 D D Vlanif30 10.1.1.1/24 D D Vlanif100 unassigned *D D
Item |
Description |
---|---|
Codes: |
The following information provides the full spelling and explanation of the abbreviated interface names, physical status, and link layer protocols. Full spelling of the abbreviated interface
names is as follows:
Explanation of the abbreviated physical status of the
interface is as follows:
Explanation of the abbreviated link layer protocol status
is as follows:
|
Number of interfaces whose physical status is Up: |
Indicates the number of interfaces whose physical status is Up. |
Number of interfaces whose physical status is Down: |
Indicates the number of interfaces whose physical status is Down. |
Number of interfaces whose protocol status is Up: |
Indicates the number of interfaces whose link layer protocol is Up. |
Number of interfaces whose protocol status is Down: |
Indicates the number of interfaces whose link layer protocol is Down. |
Interface |
Indicates the name and number of an interface. |
IP Address/Mask |
Indicates the IP address and subnet mask of an interface. |
Phy |
Indicates the physical status of an interface. |
Prot |
Indicates the link layer protocol status of an interface. |
Description |
Indicates the description of an interface, expressed in characters. A maximum of 20 characters can be displayed. When the length of the description is greater than 20 characters, only the first 16 characters are displayed and the last 3 characters are replaced by ellipsis (...). If the description of an interface is the default setting, no information is displayed. |