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

S9300, S9300E, and S9300X V200R012C00 Configuration Guide - Ethernet Switching

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

How Do I Restore the Default VLAN Configuration of an Interface?

The default VLAN configuration of an interface depends on 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 include-default | include link-type command in the interface view to check the link type of the interface, and then perform one of the following configurations to restore the default configuration of the interface.

  • Restore the default VLAN configuration of an access or dot1q-tunnel interface.
    <Quidway> system-view
    [Quidway] interface gigabitethernet 1/0/1
    [Quidway-GigabitEthernet1/0/1] undo port default vlan
  • Restore the default VLAN configuration of a trunk interface.
    <Quidway> system-view
    [Quidway] interface gigabitethernet 1/0/1
    [Quidway-GigabitEthernet1/0/1] undo port trunk pvid vlan
    [Quidway-GigabitEthernet1/0/1] undo port trunk allow-pass vlan all
    [Quidway-GigabitEthernet1/0/1] port trunk allow-pass vlan 1
  • Restore the default VLAN configuration of a hybrid interface.
    <Quidway> system-view
    [Quidway] interface gigabitethernet 1/0/1
    [Quidway-GigabitEthernet1/0/1] undo port hybrid pvid vlan
    [Quidway-GigabitEthernet1/0/1] undo port hybrid vlan all
    [Quidway-GigabitEthernet1/0/1] port hybrid untagged vlan 1
Translation
Download
Updated: 2019-01-18

Document ID: EDOC1100038290

Views: 105432

Downloads: 24

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