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

S12700 V200R010C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
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 Change the Link Type of an Interface?

How Do I Change the Link Type of an Interface?

The link type of an interface can be access, trunk, hybrid, or dot1q-tunnel.

Run the port link-type { access | trunk | hybrid | dot1q-tunnel } command and enter y or n as prompted. When the interface uses the default VLAN configuration, the system does not display any message. The link type of the interface is changed directly.
  • When you enter y and press Enter, the device automatically deletes the non-default VLAN configuration of the interface and sets the link type of the interface to the specified one.
  • When you enter n and press Enter, the device retains the current link type and VLAN configuration of the interface.
Change the link type of the interface to hybrid.
<HUAWEI> system-view
[HUAWEI] interface GigabitEthernet1/0/1
[HUAWEI-GigabitEthernet1/0/1] port link-type hybrid
Warning: This command will delete VLANs on this port. Continue?[Y/N]:y 
Info: This operation may take a few seconds. Please wait for a moment...done.
Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 254699

Downloads: 405

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