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

Fit AP V200R010C00 Command Reference

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).
display port vlan

display port vlan

Function

The display port vlan command displays information about interfaces of the VLAN.

Format

display port vlan [ interface-type interface-number | active ] *

Parameters

Parameter Description Value
interface-type interface-number Specifies the type and number of an interface in the VLAN.

If this parameter is not specified, information about all interfaces in the VLAN is displayed.

-

active Indicates the interface information of dynamic entries in the VLAN.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

You can run the display port vlan command to view information about interfaces of the VLAN and check whether the VLAN is assigned by the command, protocols, or services. If a fault occurs on an interface, you can locate the fault based on the information about the interface and VLAN.

Prerequisite

A VLAN has been created and the Layer 2 interface has joined the VLAN.

Precautions

If a large number of mappings between interfaces and VLANs exist on the device, you are advised to specify the interface or active to filter the command output. Otherwise, the following problems may occur due to excessive output information:
  • The displayed information is repeatedly refreshed, causing required information to fail to be obtained.
  • The system does not respond because of long-time information traverse and search.

Example

# Display information about interfaces that belong to each VLAN on the device.

<Huawei> display port vlan
Port                    Link Type    PVID  Trunk VLAN List                      
------------------------------------------------------------------------------- 
GigabitEthernet0/0/1    trunk        1     1 2001                               
# Display information about all dynamic entries.
<Huawei> display port vlan active
T=TAG U=UNTAG C=Configured H=HVRP G=GVRP V=VOICE-VLAN E=E-LMI                   
DA=Dynamic-authorization-VLAN UU=Unauthenticated-user-VLAN M=Mac-Flapping       
LBDT=Loopback-detect LDT=Loop-detection                                         
------------------------------------------------------------------------------- 
Port                Link Type    PVID    VLAN List                              
------------------------------------------------------------------------------- 
GE0/0/1             trunk        1(C)    U: 1(C)                                
                                         T: 2001(C)                             
Table 6-10  Description of the display port vlan command output

Item

Description

Port

Indicates the type and number of the interface.

Link Type

Indicates the types of the interface link.

PVID

Indicates the default VLAN ID of the interface. By default, VLAN 1 is the default VLAN of all interfaces.

Trunk VLAN List

  • Indicates the VLAN IDs that are dynamically added by an interface.
  • Indicates the VLAN IDs of packets that are statically configured to pass through an interface.

VLAN List

Indicates the VLAN IDs of packets that are statically configured to pass through an interface.

Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 151790

Downloads: 125

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