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

Configuration Guide - Interface Management

S1720, S2700, S5700, and S6720 V200R010C00

This document describes the principles and configurations of interfaces and provides configuration examples.

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).
Enabling or Disabling an Interface

Enabling or Disabling an Interface

Context

After modifying parameters of an interface, run the shutdown and undo shutdown commands, or run the restart command to make the modification take effect.

If an interface is not connected to a cable or a fiber, disable the interface using the shutdown command to prevent exceptions caused by interference.

NOTE:
  • If the switch supports the autocomplete function, you must enter at least the characters shut before the switch can automatically complete the shutdown command.

  • Running the shutdown and undo shutdown commands is equivalent to running the restart command. Running the shutdown command does not modify or delete interface configurations.
  • A NULL interface is always Up and cannot be enabled or disabled by commands.
  • A loopback interface is always Up after being created and cannot be enabled or disabled by commands.

Procedure

  • Disable an interface.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

      The interface view is displayed.

    3. (Optional) To configure this function in a sub-interface view, run:

      interface interface-type interface-number.subinterface-number

      The Ethernet sub-interface view is displayed.

      • Only the S6720EI, S6720S-EI, S5720HI and S5720EI support sub-interfaces.

      • Only hybrid and trunk interfaces on the preceding switches support sub-interface configuration.
      • After you run the undo portswitch command to switch Layer 2 interfaces on the preceding series of switches into Layer 3 interfaces, you can configure sub-interfaces on the interfaces.

      • After an interface is added to an Eth-Trunk, sub-interfaces cannot be configured on the interface.

      • VLAN termination sub-interfaces cannot be created on a VCMP client.

    4. Run:

      shutdown

      The interface is disabled.

      By default, an interface is enabled.

  • Enable an interface.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

      The interface view is displayed.

    3. (Optional) To configure this function in a sub-interface view, run:

      interface interface-type interface-number.subinterface-number

      The Ethernet sub-interface view is displayed.

      • Only the S6720EI, S6720S-EI, S5720HI and S5720EI support sub-interfaces.

      • Only hybrid and trunk interfaces on the preceding switches support sub-interface configuration.
      • After you run the undo portswitch command to switch Layer 2 interfaces on the preceding series of switches into Layer 3 interfaces, you can configure sub-interfaces on the interfaces.

      • After an interface is added to an Eth-Trunk, sub-interfaces cannot be configured on the interface.

      • VLAN termination sub-interfaces cannot be created on a VCMP client.

    4. Run:

      undo shutdown

      The interface is enabled.

      By default, an interface is enabled.

Translation
Download
Updated: 2019-12-28

Document ID: EDOC1000141936

Views: 49944

Downloads: 783

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next