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

AR100-S, AR110-S, AR120-S, AR150-S, AR160-S, AR200-S, AR1200-S, AR2200-S, and AR3200-S V200R009 CLI-based Configuration Guide - Ethernet Switching

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 2/0/0
    [Huawei-Ethernet2/0/0] undo port default vlan
  • Restore the default VLAN configuration of a trunk interface.
    <Huawei> system-view
    [Huawei] interface ethernet 2/0/0
    [Huawei-Ethernet2/0/0] undo port trunk pvid vlan
    [Huawei-Ethernet2/0/0] undo port trunk allow-pass vlan all
    [Huawei-Ethernet2/0/0] port trunk allow-pass vlan 1
  • Restore the default VLAN configuration of a hybrid interface.
    <Huawei> system-view
    [Huawei] interface ethernet 2/0/0
    [Huawei-Ethernet2/0/0] undo port hybrid pvid vlan
    [Huawei-Ethernet2/0/0] undo port hybrid vlan all
    [Huawei-Ethernet2/0/0] port hybrid untagged vlan 1
Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174108

Views: 55760

Downloads: 41

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