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:
|
Line protocol state | Link layer protocol state of a VLAN interface:
|
Description | Partial or complete interface description configured by using the description command:
|
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:
|
Protocol: (s) - spoofing | The protocol attribute of an interface includes the spoofing flag (the letter s in parentheses) when the following conditions exist:
|
Interface | Abbreviated interface name. |
Link | Physical link state of the interface:
|
Protocol | Data link layer state of the interface:
|
Primary IP | Primary IP address of the interface. |