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.

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:

  • *down—The interface is administratively down; that is, the interface is shut down with the shutdown command.

  • down—The interface is administratively up but its physical state is down.

  • up—Both the administrative and physical states of the interface are up.

Protocol

Link layer protocol state of the interface:

  • down—The protocol state of the interface is down.

  • up—That the protocol state of the interface is up.

  • up(s)—The protocol state of the interface is up (spoofing).

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.