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

Reminder

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

upgrade

Configuration Guide - Ethernet Switching

S1720, S2700, S5700, and S6720 V200R012(C00 and C20)

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
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 Do I Rapidly Query the Link Types and Default VLANs of All Interfaces?

How Do I Rapidly Query the Link Types and Default VLANs of All Interfaces?

Run the display port vlan command to check the link types and default VLANs of all interfaces. For 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
  • Versions earlier than 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 did 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.

Translation
Download
Updated: 2018-12-24

Document ID: EDOC1100038339

Views: 155953

Downloads: 674

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