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).
Configuring a Port Group

Configuring a Port Group

Context

If you need to perform the same operations on multiple Ethernet interfaces, configuring each interface one by one easily causes incorrect configurations and is labor-intensive.

The port group function easily solves the problem. You can add all the Ethernet interfaces to the same port group. After you run a configuration command once in the port group view, the configuration takes effect on all the Ethernet interfaces in the port group, reducing the configuration workload.

Two types of port groups are available:
  • Temporary port group: To temporarily deliver a configuration to multiple interfaces, you can create a temporary port group. After you deliver the configuration and exit from the port group view, the system automatically deletes the temporary port group.
  • Permanent port group: To deliver configurations to interfaces multiple times, you can create a permanent port group. After you exit from the port group view, the port group and member interfaces in the group still exist, facilitating subsequent batch configuration for the member interfaces. To delete a permanent port group, run the undo port-group { all | port-group-name } command.

Procedure

  • Configuring a temporary port group

    1. Run:
      system-view

      The system view is displayed.

    2. Run:
      port-group group-member { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> or interface range { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10>

      A temporary port group is created and the port group view is displayed.

  • Configuring a permanent port group

    1. Run:
      system-view

      The system view is displayed.

    2. Run:
      port-group port-group-name

      A permanent port group is created and the port group view is displayed.

    3. Run:
      group-member { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10>

      Ethernet interfaces are added to the permanent port group.

    NOTE:
    To configure a temporary or permanent port group for sub-interfaces, replace interface-type interface-number with interface-type interface-number.subinterface-number in the preceding steps to create a temporary or permanent port group for sub-interfaces and enter the port group view.
    • 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.

Checking the Configuration

Run the display port-group [ all | port-group-name ] command to check member interfaces in a permanent port group.

The port group function allows you to configure interfaces in a batch. However, the device does not support query or saving of the port group configuration. You can run the display this command in the interface view of a member interface to check the configuration that takes effect on the interface.

Follow-up Procedure

You can configure both interface attribute commands and service commands in the port group view. For details about the service commands, see the related documentation.

A command run in the port group view takes effect only on member interfaces that support the command. Therefore, a configuration that is batch delivered may not take effect on all member interfaces. For example, a port group consists of optical and electrical interfaces. If you run the transceiver power low trigger error-down command in the port group view, the configuration will only take effect on the optical interfaces.

Translation
Download
Updated: 2019-12-28

Document ID: EDOC1000141936

Views: 50300

Downloads: 783

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next