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

S9300, S9300E, and S9300X V200R013C00

This document describes the interface management configuration, including basic interface configuration, Ethernet interface configuration, and logical interface configuration.
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 Interfaces in a Batch

Configuring Interfaces in a Batch

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

  • Configure 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 run 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.

  • Configure 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.

Verifying 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-04-09

Document ID: EDOC1100065861

Views: 4921

Downloads: 8

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