Data Preparation
To complete the configuration, you need the following data:
l Number of the Eth-Trunk
l Types and numbers of the member interfaces in the Eth-Trunk
Procedure
Step 1 Create an Eth-Trunk.
# Create Eth-Trunk 1.
<Huawei> system-view
[Huawei] sysname Router
[Router] interface eth-trunk 1
[Router-Eth-Trunk1] quit
Step 2 Add member interfaces to the Eth-Trunk.
# Add Ethernet 2/0/3 to Eth-Trunk 1.
[Router] interface ethernet 2/0/3
[Router-Ethernet2/0/3] eth-trunk 1
[Router-Ethernet2/0/3] quit
# Add Ethernet 2/0/4 to Eth-Trunk 1.
[Router] interface ethernet 2/0/4
[Router-Ethernet2/0/4] eth-trunk 1
[Router-Ethernet2/0/4] quit
Step 3 Configure Eth-Trunk 1.
# Configure Eth-Trunk 1 to allow packets of VLANs 100 to 200 to pass through.
[Router] interface eth-trunk 1
[Router-Eth-Trunk1] port link-type trunk
[Router-Eth-Trunk1] port trunk allow-pass vlan 100 to 200
[Router-Eth-Trunk1] quit
Step 4 Verify the configuration.
Run the display trunkmembership eth-trunk trunk-id command in any view to check whether
Eth-Trunk 1 is created and whether member interfaces are added.
[Router] display trunkmembership eth-trunk 1
Trunk ID: 1
Used status: VALID
TYPE: ethernet
Working Mode : Normal
Number Of Ports in Trunk = 2
Number Of UP Ports in Trunk = 2
operate status: up
Interface Ethernet2/0/3, valid, operate up, weight=1,
Interface Ethernet2/0/4, valid, operate up, weight=1,
# Display the configuration of Eth-Trunk 1.
[Router] display eth-trunk 1
Eth-Trunk1's state information is:
WorkingMode: NORMAL Hash arithmetic: According to SA-XOR-DA
Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8
Operate status: up Number Of Up Port In Trunk: 2
--------------------------------------------------------------------------------
PortName Status Weight
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN 1 Link Aggregation Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
22