R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide
23
Configuration procedure
1. Configure Router A:
# Create VLAN 10, and assign port GigabitEthernet 4/0/4 to VLAN 10.
<RouterA> system-view
[RouterA] vlan 10
[RouterA-vlan10] port GigabitEthernet 4/0/4
[RouterA-vlan10] quit
# Create VLAN 20, and assign port GigabitEthernet 4/0/5 to VLAN 20.
[RouterA] vlan 20
[RouterA-vlan20] port GigabitEthernet 4/0/5
[RouterA-vlan20] quit
# Create Layer 2 aggregate interface Bridge-Aggregation 1.
[RouterA] interface bridge-aggregation 1
[RouterA-Bridge-Aggregation1] quit
# Assign ports GigabitEthernet 4/0/1 through GigabitEthernet 4/0/3 to link aggregation group
1.
[RouterA] interface GigabitEthernet 4/0/1
[RouterA-GigabitEthernet4/0/1] port link-aggregation group 1
[RouterA-GigabitEthernet4/0/1] quit
[RouterA] interface GigabitEthernet 4/0/2
[RouterA-GigabitEthernet4/0/2] port link-aggregation group 1
[RouterA-GigabitEthernet4/0/2] quit
[RouterA] interface GigabitEthernet 4/0/3
[RouterA-GigabitEthernet4/0/3] port link-aggregation group 1
[RouterA-GigabitEthernet4/0/3] quit
# Configure Layer 2 aggregate interface Bridge-Aggregation 1 as a trunk port and assign it to
VLANs 10 and 20.
[RouterA] interface bridge-aggregation 1
[RouterA-Bridge-Aggregation1] port link-type trunk
[RouterA-Bridge-Aggregation1] port trunk permit vlan 10 20
Please wait... Done.
Configuring GigabitEthernet4/0/1... Done.
Configuring GigabitEthernet4/0/2... Done.
Configuring GigabitEthernet4/0/3... Done.
[RouterA-Bridge-Aggregation1] quit
# Configure Router A to use the source and destination MAC addresses of packets as the global
link-aggregation load-sharing criteria.
[RouterA] link-aggregation load-sharing mode source-mac destination-mac
2. Configure Router B in the same way Router A is configured. (Details not shown.)
3. Verify the configurations:
# Display summary information about all aggregation groups on Router A.
[RouterA] display link-aggregation summary
Aggregation Interface Type:
BAGG -- Bridge-Aggregation, RAGG -- Route-Aggregation
Aggregation Mode: S -- Static, D -- Dynamic