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

Common Operation Guide

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

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).
Switching an Interface to Layer 3 Mode

Switching an Interface to Layer 3 Mode

  • Switching one interface: Run the undo portswitch command in the interface view to switch the interface to Layer 3 mode. By default, an Ethernet interface works in Layer 2 mode.

    # Switching 10GE1/0/1 to Layer 3 mode.
    <HUAWEI> system-view
    [~HUAWEI] interface 10ge 1/0/1
    [~HUAWEI-10GE1/0/1] undo portswitch
    [*HUAWEI-10GE1/0/1] commit
    
  • Switching a batch of interfaces: Run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch multiple interfaces to Layer 3 mode in a batch.

    # Switch 10GE1/0/1 to 10GE1/0/3 to Layer 3 mode in a batch.
    <HUAWEI> system-view
    [~HUAWEI] undo portswitch batch 10ge 1/0/1 to 1/0/3
    [*HUAWEI] commit
    
NOTE:

Before configuring the undo portswitch and undo portswitch batch commands on the CE12800E that has the FD-X series cards installed, CE6865EI, CE6855HI, CE6856HI, CE7855EI, CE8861EI, and CE8868EI, run the vlan reserved for main-interface startvlanid to endvlanid command in the system view to configure a dedicated reserved VLAN for Layer 3 main interfaces.

The undo portswitch configuration takes effect only when the interface has attribute configurations (such as shutdown and description configurations). If service configurations (such as the port link-type trunk configuration) exist on the interface, delete all service configurations before running this command.

After switching an Ethernet interface from Layer 2 mode to Layer 3 mode using the undo portswitch command, you can configure an IP address or a Layer 3 sub-interface on the interface.

Translation
Download
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 142157

Downloads: 3158

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