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

S7700 and S9700 V200R012C00

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, HVRP, 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-Trunk0                  desirable    1     1-4094
    Eth-Trunk1                  trunk        1     1 11  
    Eth-Trunk5                  hybrid       1     -     
    Eth-Trunk10                 desirable    1     1-4094
    Eth-Trunk12                 trunk        1     1     
    GigabitEthernet9/0/1        trunk        1     1 8   
    GigabitEthernet9/0/3        access       10    -     
    GigabitEthernet9/0/4        hybrid       1     -     
    GigabitEthernet9/0/5        hybrid       1     -     
    GigabitEthernet9/0/6        desirable    1     1-4094
    GigabitEthernet9/0/7        desirable    1     1-4094
    GigabitEthernet9/0/8        desirable    1     1-4094
    GigabitEthernet9/0/9        trunk        1     1 17  
    GigabitEthernet9/0/10       desirable    1     1-4094
    GigabitEthernet9/0/11       desirable    1     1-4094
    GigabitEthernet9/0/12       desirable    1     1-4094
    GigabitEthernet9/0/13       desirable    1     1-4094
    GigabitEthernet9/0/14       desirable    1     1-4094
    GigabitEthernet9/0/15       hybrid       1     -     
    GigabitEthernet9/0/17       access       103   -     
    GigabitEthernet9/0/18       desirable    1     1-4094
    GigabitEthernet9/0/19       desirable    0     -     
    GigabitEthernet9/0/20       desirable    1     1-4094
    GigabitEthernet9/0/21       desirable    1     1-4094
    GigabitEthernet9/0/22       desirable    1     1-4094
    GigabitEthernet9/0/23       hybrid       200   -     
    Wlan-Ess1                   trunk        1     1     
    XGigabitEthernet6/0/0       desirable    1     1-4094
    XGigabitEthernet6/0/1       desirable    1     1-4094
    XGigabitEthernet6/0/2       desirable    1     1-4094
    XGigabitEthernet6/0/3       desirable    1     1-4094
  • Versions earlier than V200R005

    <HUAWEI> display port vlan
    Port                        Link Type    PVID  Trunk VLAN List
    ------------------------------------------------------------------------------- 
    Eth-Trunk1                  trunk        1     1-100
    Eth-Trunk2                  trunk        1     1-100
    Eth-Trunk3                  trunk        1     1-100
    Eth-Trunk4                  trunk        1     1-100
    Ethernet3/0/0               trunk        1     1 101-500
    Ethernet3/0/1               trunk        1     1 100 110
    Ethernet3/0/2               hybrid       0     -
    Ethernet3/0/3               hybrid       1     -
    Ethernet3/0/4               hybrid       1     -
    Ethernet3/0/5               hybrid       1     -
    Ethernet3/0/6               hybrid       1     -
    Ethernet3/0/7               hybrid       1     -
    Ethernet3/0/8               hybrid       1     -
    Ethernet3/0/9               hybrid       1     -
    Ethernet3/0/10              hybrid       1     -
    Ethernet3/0/11              hybrid       1     -
    Ethernet3/0/12              hybrid       1     -
    Ethernet3/0/13              hybrid       1     -
    Ethernet3/0/14              hybrid       1     -
    Ethernet3/0/15              hybrid       1     -
    Ethernet3/0/16              hybrid       1     -
    Ethernet3/0/17              hybrid       1     -
    Ethernet3/0/18              hybrid       1     -
    Ethernet3/0/19              hybrid       1     -
    Ethernet3/0/20              hybrid       1     -
    Ethernet3/0/21              hybrid       1     -
    Ethernet3/0/22              hybrid       1     -
    Ethernet3/0/23              hybrid       1     -
    Ethernet3/0/24              hybrid       1     -
    Ethernet3/0/25              hybrid       1     -
    Ethernet3/0/26              hybrid       1     -
    Ethernet3/0/27              hybrid       1     -
    Ethernet3/0/28              hybrid       1     -
    Ethernet3/0/29              hybrid       1     -
    Ethernet3/0/30              hybrid       1     -
    Ethernet3/0/31              hybrid       1     -
    Ethernet3/0/32              hybrid       1     -
    Ethernet3/0/33              hybrid       1     -
    Ethernet3/0/34              hybrid       1     -
    Ethernet3/0/35              hybrid       1     -
    Ethernet3/0/36              hybrid       1     -
    Ethernet3/0/37              hybrid       1     -
    Ethernet3/0/38              hybrid       1     -
    Ethernet3/0/39              hybrid       1     -
    Ethernet3/0/40              hybrid       1     -
    Ethernet3/0/41              hybrid       1     -
    Ethernet3/0/42              hybrid       1     -
    Ethernet3/0/43              hybrid       1     -
    Ethernet3/0/44              hybrid       1     -
    Ethernet3/0/45              hybrid       1     -
    Ethernet3/0/46              hybrid       1     -
    Ethernet3/0/47              trunk        1     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: 2019-01-18

Document ID: EDOC1100038843

Views: 107421

Downloads: 71

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