display ip interface brief
Use display ip interface brief to display brief IP configuration for Layer 3 interfaces.
Syntax
display ip interface [ interface-type [ interface-number ] ] brief [ description ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
interface-type: Specifies an interface type. If you do not specify an interface type, this command displays brief IP configuration for all Layer 3 interfaces.
interface-number: Specifies an interface number. If you do not specify an interface number, this command displays brief IP configuration for all Layer 3 interfaces of the specified type.
description: Displays complete interface descriptions. If you do not specify this keyword, the command displays a maximum of 13 characters for each interface description. If the description is longer than 13 characters, the first 10 characters are displayed, followed by an ellipsis (...).
Usage guidelines
Information displayed by the command includes the state of the physical and link layer protocols, IP address, and interface descriptions.
Examples
# Display brief IP configuration for VLAN interfaces.
<Sysname> display ip interface vlan-interface brief *down: administratively down (s): spoofing (l): loopback Interface Physical Protocol IP address VPN instance Description Vlan10 down down 6.6.6.1 -- Link to Co... Vlan2 down down 7.7.7.1 vpn-first... -- <Sysname> display ip interface vlan-interface brief description *down: administratively down (s): spoofing (l): loopback Interface Physical Protocol IP address VPN instance Description Vlan10 down down 6.6.6.1 -- Link to CoreR Outer Vlan2 down down 7.7.7.1 vpn-first-in -- stance
Table 4: Command output
Field | Description |
---|---|
*down: administratively down | The interface is administratively shut down by using the shutdown command. |
(s) : spoofing | Spoofing attribute of the interface. The link protocol state of the interface is up, but the link is temporarily established on demand or does not exist. |
Interface | Interface name. |
Physical | Physical state of the interface:
|
Protocol | Link layer protocol state of the interface:
|
IP address | IP address of the interface. If no IP address is configured, this field displays hyphens (--). |
VPN instance | Name of the VPN instance to which the interface belongs. This field displays a maximum of 12 characters. If the VPN instance name is longer than 12 characters, the first 9 characters are displayed, followed by an ellipsis (...). If the interface does not belong to any VPN instance, this field displays hyphens (--). |
Description | Description of the interface. This field displays a maximum of 13 characters. If the description is longer than 13 characters, the first 10 characters are displayed, followed by an ellipsis (...). If no description is configured, this field displays hyphens (--). |
Related commands
display ip interface
ip address