How to configure multiple physical interfaces in a batch


You can add multiple 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.

# Add GE0/0/1 to GE0/0/20 to port group portgroup1.
[HUAWEI] port-group portgroup1
[HUAWEI-port-group-portgroup1] group-member gigabitethernet 0/0/1 to gigabitethernet 0/0/20

Other related questions:
How to configure rate limiting on a physical interface
WAN-side physical interfaces support rate limiting. You can limit the rate of outgoing packets on a WAN-side physical interface by configuring the percentage of the rate of packets against the interface bandwidth. Perform the following configuration: 1. Run the system-view command to enter the system view. 2. (Optional) Run the qos overhead layer { link | physics } command to configure the mode to calculate the packet length during traffic policing or traffic shaping. By default, the system counts the physical-layer and link-layer compensation information in the packet length during traffic policing or traffic shaping. 3. Run the interface interface-type interface-number command to enter the interface view. Run the qos lr pct pct-value [ cbs cbs-value ] command to configure the percentage of traffic rate against the interface bandwidth. By default, the percentage of traffic rate against the interface bandwidth is 100.

How to implement port mapping on an AR router
Run the port-mapping command on an AR router to configure port mapping based on basic ACLs (number 2000 to 2999). Port mapping is implemented after packets match an ACL rule. To filter packets based on the ACLs, port mapping tries to match the destination IP addresses in the packets with the IP addresses defined in the basic ACL rules.
# Set the mapping port of the HTTP service to 10. If packets comply with the rules defined in the ACL 2000, the mapping relationship takes effect.
[Huawei] acl 2000
[Huawei-acl-basic-2000] rule permit
[Huawei-acl-basic-2000] quit
[Huawei] port-mapping http port 10 acl 2000

How to configure interfaces in a batch
To perform the same configurations on multiple interfaces, add these interfaces to a port group to batch configure them. This can reduce the configuration workload.

Configuration of an AP's wired interfaces
Configuration of a Fit AP's wired interfaces: For V200R005: [HUAWEI]wlan [HUAWEI-wlan-view]ap id 0 [HUAWEI-wlan-ap-0]lineate-port Ethernet 0 pvid vlan 100 [HUAWEI-wlan-ap-0]lineate-port Ethernet 0 vlan untagged 100 The preceding configuration takes VLAN 100 as an example. An AP's wired interfaces can be used to connect wired terminals. For V200R006: [HUAWEI]wlan [HUAWEI-wlan-view]wired-port-profile name profile-name //Create an AP wired port profile, and configure wired interface parameters in the profile. Note: 1. If an AP is connected to a switch, you can configure VLANs to allow their packets to pass through. 2. Some APs have two or more wired interfaces. The serial number of a wired interface starts with 0 and is incremented.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top