Run the display port vlan command to check the link types and default VLANs of all interfaces. Example: V200R005 and later versions
< HUAWEI> display port vlan Port Link Type PVID Trunk VLAN List ------------------------------------------------------------------------------- Eth-Trunk2 auto 1 1-4094 Eth-Trunk3 hybrid 1 - Eth-Trunk5 auto 1 1-4094 Ethernet0/0/1 auto 1 1-4094 Ethernet0/0/2 auto 1 1-4094 Ethernet0/0/3 auto 1 1-4094 Ethernet0/0/4 auto 1 1-4094 Ethernet0/0/5 auto 1 1-4094 Ethernet0/0/6 auto 0 - Ethernet0/0/7 auto 1 1-4094 Ethernet0/0/8 auto 0 - Ethernet0/0/9 auto 0 - Ethernet0/0/10 auto 1 1-4094 Ethernet0/0/11 auto 1 1-4094 Ethernet0/0/12 auto 0 - Ethernet0/0/13 auto 1 1-4094 Ethernet0/0/14 auto 1 1-4094 Ethernet0/0/15 auto 1 1-4094 Ethernet0/0/16 auto 1 1-4094 Ethernet0/0/17 auto 1 1-4094 Ethernet0/0/18 auto 1 1-4094 Ethernet0/0/19 auto 1 1-4094 Ethernet0/0/20 auto 1 1-4094 Ethernet0/0/21 access 20 - Ethernet0/0/22 auto 1 1-4094 Ethernet0/0/23 auto 1 1-4094 Ethernet0/0/24 access 4094 - GigabitEthernet0/0/1 auto 0 - GigabitEthernet0/0/2 auto 1 1-4094 GigabitEthernet0/0/3 auto 1 1-4094 GigabitEthernet0/0/4 auto 1 1-4094 Earlier versions of V200R005 (excluding V200R005)
< HUAWEI> display port vlan Port Link Type PVID Trunk VLAN List ------------------------------------------------------------------------------- GigabitEthernet0/0/1 trunk 1 1 GigabitEthernet0/0/2 hybrid 1 - GigabitEthernet0/0/3 hybrid 1 - GigabitEthernet0/0/4 hybrid 1 - GigabitEthernet0/0/5 access 10 - GigabitEthernet0/0/6 hybrid 1 - GigabitEthernet0/0/7 hybrid 1 - GigabitEthernet0/0/8 hybrid 1 - GigabitEthernet0/0/9 hybrid 1 - GigabitEthernet0/0/10 hybrid 1 - GigabitEthernet0/0/11 hybrid 1 - GigabitEthernet0/0/12 hybrid 1 - GigabitEthernet0/0/13 hybrid 1 - GigabitEthernet0/0/15 hybrid 1 - GigabitEthernet0/0/16 hybrid 1 - GigabitEthernet0/0/17 hybrid 1 - GigabitEthernet0/0/18 hybrid 1 - GigabitEthernet0/0/19 hybrid 1 - GigabitEthernet0/0/20 hybrid 1 - GigabitEthernet0/0/21 hybrid 1 - GigabitEthernet0/0/22 hybrid 1 - GigabitEthernet0/0/23 hybrid 1 - GigabitEthernet0/0/24 hybrid 1 -The Link Type field indicates the link type of an interface, the PVID field indicates the default VLAN, and the Trunk VLAN List field indicates the list of VLANs allowed by a trunk interface. If the interface does not join any VLAN, the Trunk VLAN List field is displayed as -. If the link type of an interface is negotiation-desirable or negotiation-auto, the Trunk VLAN List field is displayed as 1 to 4094.
Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
Politically sensitive content
Content concerning pornography, gambling, and drug abuse
Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
* Including Third Party’s Trade Secret or No:?
Third Party’s Trade Secret
Third Party’s Trade Secret refers to Third Party’s (other than Huawei’s) technical or commercial information which is unknown to the public, with commercial value, and kept confidential by Third Party. It may include without limitation Price Information, Roadmap, Commercial Authorization, Core Algorithm and Source Code. Should you have any questions, please contact e.support@huawei.com.