display interface vlan-interface
Use display interface vlan-interface to display VLAN interface information.
Syntax
display interface vlan-interface [ interface-number ] [ brief [ description | down ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
vlan-interface 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.
description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of each interface description.
down: Displays VLAN interfaces in down state and their down causes. If you do not specify this keyword, the command displays information about VLAN interfaces in all states.
Examples
# Display information about VLAN-interface 2.
<Sysname> display interface vlan-interface 2 Vlan-interface2 Current state: DOWN Line protocol state: DOWN Description: Vlan-interface2 Interface Bandwidth: 100000 kbps Maximum transmission unit: 1500 Internet protocol processing : Disabled IP packet frame type: Ethernet II, hardware address: 000f-e249-8050 IPv6 packet frame type: Ethernet II, hardware address: 000f-e249-8050 Output queue - Urgent queuing: Size/Length/Discards 0/100/0 Output queue - Protocol queuing: Size/Length/Discards 0/500/0 Output queue - FIFO queuing: Size/Length/Discards 0/75/0 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 about 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 12: Command output
Field | Description |
---|---|
Vlan-interface2 | VLAN interface name. |
Current state | Physical link state of the VLAN interface:
|
Line protocol state | Data link layer state of the VLAN interface:
|
Description | Description of the VLAN interface. |
Bandwidth | Expected bandwidth of the VLAN interface. |
Maximum transmission unit | MTU of the VLAN interface. |
Internet protocol processing : Disabled | The VLAN interface is not assigned an IP address and cannot process IP packets. |
Internet Address | IP address of the VLAN interface. The primary attribute indicates that the address is the primary IP address. |
IP packet frame type | IPv4 packet framing format. |
hardware address | MAC address of the VLAN interface. |
IPv6 packet frame type | IPv6 packet framing format. |
Output queue - Urgent queuing: Size/Length/Discards 0/100/0 Output queue - Protocol queuing: Size/Length/Discards 0/500/0 Output queue - FIFO queuing: Size/Length/Discards 0/75/0 | Information about the urgent, protocol, and FIFO output queues:
|
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 never executed this command. |
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. |
Interface | Abbreviated interface name. |
Link | Physical link state of the interface:
|
Protocol | Data link layer protocol state of the interface:
|
Primary IP | Primary IP address of the interface. |
Related commands
reset counters interface vlan-interface