port trunk allow-pass vlan 10 20
load-balance src-dst-mac
#
interface Ethernet1/0/1
eth-trunk 1
#
interface Ethernet1/0/2
eth-trunk 1
#
interface Ethernet1/0/3
eth-trunk 1
#
interface Ethernet1/0/4
port link-type trunk
port trunk allow-pass vlan 10
#
interface Ethernet1/0/5
port link-type trunk
port trunk allow-pass vlan 20
#
return
Configuration file of RouterB
#
sysname RouterB
#
vlan batch 10 20
#
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 10 20
load-balance src-dst-mac
#
interface Ethernet1/0/1
eth-trunk 1
#
interface Ethernet1/0/2
eth-trunk 1
#
interface Ethernet1/0/3
eth-trunk 1
#
interface Ethernet1/0/4
port link-type trunk
port trunk allow-pass vlan 20
#
interface Ethernet1/0/5
port link-type trunk
port trunk allow-pass vlan 10
#
return
2.8.2 Example for Configuring Link Aggregation in LACP Mode
Networking Requirements
To increase the bandwidth and improve the connection reliability, you can configure an LAG
on two directly connected routers, as shown in
. The requirements are as follows:
l
The LAG contains three member links. Two links function as active links to implement
load balancing, and the other link functions as the backup link.
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
2 Link Aggregation Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
62