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

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 Restore the Default VLAN Configuration of an Interface

How to Restore the Default VLAN Configuration of an Interface

The default VLAN configuration of an interface involves the default VLAN of the interface and the VLAN that the interface joins. By default, the default VLAN of an interface is VLAN 1 and an interface joins VLAN 1 in untagged mode.

Run the display this command in the interface view to check the link type of the interface, and perform the following operations to restore the default VLAN configuration of the interface.

  • Restore the default VLAN configuration of an access interface.
    <Huawei> system-view
    [Huawei] interface ethernet 0/0/1
    [Huawei-Ethernet0/0/1] undo port default vlan
  • Restore the default VLAN configuration of a trunk interface.
    <Huawei> system-view
    [Huawei] interface ethernet 0/0/1
    [Huawei-Ethernet0/0/1] undo port trunk pvid vlan
    [Huawei-Ethernet0/0/1] undo port trunk allow-pass vlan all
    [Huawei-Ethernet0/0/1] port trunk allow-pass vlan 1
  • Restore the default VLAN configuration of a hybrid interface.
    <Huawei> system-view
    [Huawei] interface ethernet 0/0/1
    [Huawei-Ethernet0/0/1] undo port hybrid pvid vlan
    [Huawei-Ethernet0/0/1] undo port hybrid vlan all
    [Huawei-Ethernet0/0/1] port hybrid untagged vlan 1
Download
Updated: 2019-04-12

Document ID: EDOC1100041791

Views: 58049

Downloads: 40

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