| Parameter | Description | Value |
|---|---|---|
| interface-type interface-number | Specifies the type and number of an interface in the VLAN. If this parameter is not specified, information about all interfaces in the VLAN is displayed. |
- |
Usage Scenario
You can run the display port vlan command to view information about interfaces of the VLAN and check whether the VLAN is assigned by the command, protocols, or services. If a fault occurs on an interface, you can locate the fault based on the information about the interface and VLAN.
Prerequisite
A VLAN has been created and the Layer 2 interface has joined the VLAN.
Note
# Display information about interfaces that belong to each VLAN on the device.
<sysname> display port vlan Port Link Type PVID Trunk VLAN List ------------------------------------------------------------------------------- Eth-Trunk50 access 50 -
Item |
Description |
|---|---|
Port |
Indicates the type and number of the interface. |
Link Type |
Indicates the types of the interface link.
|
PVID |
Indicates the default VLAN ID of the interface. |
Trunk VLAN List |
Indicates the VLAN IDs of packets that are statically configured to pass through an interface. |