display ip interface brief
Syntax
display ip interface [ interface-type [ interface-number ] ] brief [ description ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-type: Specifies an interface by its type.
interface-number: Specifies an interface by its number.
description: Displays complete interface descriptions. If you do not specify this keyword, the command displays the first nine characters and an ellipsis (...) for an interface description longer than nine characters.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display ip interface brief to display brief IP configuration information for a specified Layer 3 interface or all Layer 3 interfaces.
Without the interface type and interface number, the brief IP configuration information for all Layer 3 interfaces is displayed.
With only the interface type, the brief IP configuration information for all Layer 3 interfaces of the specified type is displayed.
With both the interface type and interface number, only the brief IP configuration information for the specified interface is displayed.
Related commands: display ip interface.
Examples
# Display brief IP configuration information about VLAN interfaces.
<Sysname> display ip interface vlan-interface brief *down: administratively down (s): spoofing Interface Physical Protocol IP Address Description Vlan1 up up 6.6.6.6 Vlan-inte... Vlan2 up up 7.7.7.7 Vlan-inte...
Table 3: Command output
Field | Description |
---|---|
*down: administratively down | The interface is administratively shut down with the shutdown command. |
(s) : spoofing | Spoofing attribute of the interface. It indicates that an interface may have no link present even when its link layer protocol is displayed up or the link is set up only on demand. |
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, unassigned is displayed.) |
Description | Interface description information, for which up to 12 characters can be displayed. If there are more than 12 characters, only the first nine characters are displayed. |