Usage Scenario
To view information about interfaces in all VLANs configured on a device, run the display port vlan [ interface-type interface-number ] command. If you want to view information only about interfaces with specified types and numbers in successfully created VLANs, specify active in the preceding command. If a fault occurs on an interface, you can locate the fault based on the information about the interface and VLAN.
Precautions
If a large amount of information about interfaces and VLANs is displayed on a device, specifying an interface when you run the display port vlan command is recommended. Otherwise, the following problems may occur due to excessive output information:
 
 The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display port vlan GigabitEthernet0/1/1 active T=TAG U=UNTAG Port Link Type PVID VLAN List ------------------------------------------------------------------------------- GigabitEthernet0/1/1 hybrid 1 U:25
<HUAWEI> display port vlan Port Link Type PVID Trunk VLAN List ------------------------------------------------------------------------------- Eth-Trunk1 hybrid 1 1-11 Eth-Trunk2 hybrid 1 2-3 GigabitEthernet0/1/17 hybrid 0 -
| Item | Description | 
|---|---|
| T=TAG | Tagged. | 
| U=UNTAG | Untagged. | 
| Port | Interface type and number. | 
| Link Type | Type of the interface link: 
 | 
| PVID | Default VLAN ID of the interface. | 
| VLAN List | Interface's ID list of successfully created VLANs. | 
| Trunk VLAN List | ID of the permitted VLAN that is configured using the command. |