display interface vlan-interface

Use display interface vlan-interface to display VLAN interface information.

Syntax

display interface vlan-interface [ brief [ description | down ] ]

display interface vlan-interface interface-number [ brief [ description ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-number: Specifies a VLAN interface number. If you do not specify this argument, the command displays information about all VLAN interfaces.

brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.

down: Displays interfaces in a down state and their down causes. If you do not specify this keyword, the command displays information about VLAN interfaces in all states.

description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of each interface description.

Examples

# Display information for VLAN-interface 10.

<Sysname> display interface vlan-interface 10
Vlan-interface10
Current state: UP
Line protocol state: UP
Description: Vlan-interface10 Interface
Bandwidth: 100000kbps
Maximum transmission unit: 1500
Internet address : 192.168.1.54/24 (primary)
IP packet frame type: Ethernet II,  hardware address: 0023-89b6-d613
IPv6 packet frame type: Ethernet II,  hardware address: 0023-89b6-d613
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Input: 0 packets, 0 bytes, 0 drops
Output: 0 packets, 0 bytes, 0 drops

# Display brief information for VLAN-interface 2.

<Sysname> display interface vlan-interface 2 brief
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface            Link Protocol Primary IP         Description
Vlan2                DOWN DOWN     --

Table 39: Command output

Field

Description

Vlan-interface2

VLAN interface name.

Current state

Physical state of a VLAN interface:

  • DOWN (Administratively)—The administrative state of the VLAN interface is down, because it has been shut down by using the shutdown command.

  • DOWN—The administrative state of the VLAN interface is up, but its physical state is down. The VLAN of this VLAN interface does not contain any physical ports in up state. The ports might not be well connected correctly or the lines might have failed.

  • UP—Both the administrative state and the physical state of the VLAN interface are up.

Line protocol state

Link layer protocol state of a VLAN interface:

  • DOWN—The link layer protocol state of the VLAN interface is down.

  • UP—The link layer protocol state of the VLAN interface is up.

Description

Partial or complete interface description configured by using the description command:

  • If you do not specify the description keyword in the display interface brief command, this field displays only the first 27 characters of the interface description.

  • If you specify the description keyword in the display interface brief command, this field displays the complete interface description.

Bandwidth

Expected bandwidth of a VLAN interface.

Maximum transmission unit

MTU of a VLAN interface.

Internet protocol processing : Disabled

The interface cannot process IP packets. This information is displayed when the interface is not configured with an IP address.

Internet address : 192.168.1.54/24 (primary)

The primary IP address of the interface is 192.168.1.54/24. This information is displayed only when the primary IP address is configured for the interface.

IP packet frame type

Framing format of sent IPv4 packets.

hardware address

MAC address of the VLAN interface.

IPv6 packet frame type

Framing format of sent IPv6 packets.

Last clearing of counters

The most recent time that the reset counters interface vlan-interface command was executed. This field displays Never if you have not executed this command since the device startup.

Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Average rates of input packets and output packets in the last 300 seconds (in Bps, bps, and pps).

Input: 0 packets, 0 bytes, 0 drops

Total number and size (in bytes) of the received packets of the interface and the number of the dropped packets.

Output: 0 packets, 0 bytes, 0 drops

Total number and size (in bytes) of the sent packets of the interface and the number of the dropped packets.

Brief information on interfaces in route mode

Brief information about Layer 3 interfaces.

Link: ADM - administratively down; Stby – standby

Link layer state of the interface:

  • ADM—The interface has been administratively shut down. To bring up the interface, use the undo shutdown command.

  • Stby—The interface is operating as a backup interface.

Protocol: (s) - spoofing

The protocol attribute of an interface includes the spoofing flag (the letter s in parentheses) when the following conditions exist:

  • The data link layer protocol state of an interface is shown as UP.

  • Its link is an on-demand link or is not present.

Interface

Abbreviated interface name.

Link

Physical link state of the interface:

  • UP—The physical link of the interface is up.

  • DOWN—The physical link of the interface is down.

  • ADM—The interface has been administratively shut down. To bring up the interface, use the undo shutdown command.

  • Stby—The interface is operating as a backup interface.

Protocol

Data link layer state of the interface:

  • UP—The data link layer of the interface is up.

  • DOWN—The data link layer of the interface is down.

  • UP(s)—The data link layer of the interface is spoofing up. This state is available for on-demand link setup applications. This state enables the device to initiate an on-demand link setup when a link is not present.

Primary IP

Primary IP address of the interface.