No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - Ethernet Switching

AR650, AR1600, and AR6100 V300R003

This document describes how to configure the components for LAN services, including link aggregation groups, VLANs, voice VLANs, MAC address tables, transparent bridging, as well as GVRP, STP/RSTP, and MSTP protocols.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
How to Rapidly Query the Link Types, Default VLANs, and Allowed VLANs of All Interfaces

How to Rapidly Query the Link Types, Default VLANs, and Allowed VLANs of All Interfaces

Run the display port vlan command to check the link types and default VLANs of all interfaces.
<Huawei> display port vlan
Port                        Link Type    PVID  Trunk VLAN List
Eth-Trunk1                  hybrid       1     -
Eth-Trunk63                 hybrid       1     -
Ethernet2/0/0               trunk        1     1-4094
Ethernet2/0/1               access       1     -
Ethernet2/0/2               hybrid       1     2-100
Ethernet2/0/3               trunk        1     1
Ethernet2/0/4               hybrid       1     -
Ethernet2/0/5               hybrid       1     -
Ethernet2/0/6               hybrid       1     -
Ethernet2/0/7               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 or VLANs that hybrid interfaces join in tagged mode. The value is displayed as - if the link type of the interface is access or the hybrid interface does not join the VLAN in tagged mode.

Updated: 2019-04-12

Document ID: EDOC1100041791

Views: 58945

Downloads: 40

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next