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

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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

You can configure a port group to quickly implement batch configuration of multiple interfaces and reduce the duplicated configuration workload.

Context

When the same configuration needs to be performed on multiple Ethernet interfaces, one-by-one configuration on each interface may result in errors and a large amount of duplicated workload.

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

Two port group types are available:
  • Temporary port group: To temporarily batch deliver the configuration to multiple specified interfaces, you can configure a temporary port group. After the configuration is batch delivered, the system will delete the temporary port group once you exit from the port group view.
  • Permanent port group: To batch deliver the configuration for multiple times, you can configure a permanent port group. The port group and its port members still exist even if you exit from the port group view. This facilities the next configuration batch configuration. 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>

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

    3. Run:

      commit

      The configuration is committed.

  • 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 permanent port group view is displayed.

    3. Run:

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

      The Ethernet interfaces are added to the permanent port group.

    4. Run:

      commit

      The configuration is committed.

Checking the Configuration

Run the display port-group [ all | port-group-name ] command to view information about member interfaces in the permanent port group.

The port group function supports batch configuration, but you cannot check or save the port group configuration. You can run the display this command in the member interface view to check the current configuration of the member interface.

Follow-up Procedure

Both interface attribute commands and service commands can be configured in the port group view. For details about service commands in the port group view, see the related documentation.

The command executed in the port group view can take effect only when the member interfaces support the function configuration. Therefore, the configuration that is batch delivered may not take effect for all member interfaces. For example, the member interfaces in a port group include optical and electrical interfaces. After you run the port transceiver-power-low trigger error-down command in the port group view, the configuration only takes effect on the optical interfaces.

Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 57142

Downloads: 3617

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