R3303-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide
33
Figure 8 Network diagram
Configuration procedure
1. Configure Router A:
# Create VLAN 10, and assign the port GigabitEthernet 4/0/5 to VLAN 10.
<RouterA> system-view
[RouterA] vlan 10
[RouterA-vlan10] port GigabitEthernet 4/0/5
[RouterA-vlan10] quit
# Create VLAN 20, and assign the port GigabitEthernet 4/0/6 to VLAN 20.
<RouterA> system-view
[RouterA] vlan 20
[RouterA-vlan20] port GigabitEthernet 4/0/6
[RouterA-vlan20] quit
# Create Layer 2 aggregate interface Bridge-Aggregation 1, and configure the load sharing
criterion for the link aggregation group as the source MAC addresses of packets.
[RouterA] interface bridge-aggregation 1
[RouterA-Bridge-Aggregation1] link-aggregation load-sharing mode source-mac
[RouterA-Bridge-Aggregation1] quit
# Assign ports GigabitEthernet 4/0/1 and GigabitEthernet 4/0/2 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
# Configure Layer 2 aggregate interface Bridge-Aggregation 1 as a trunk port and assign it to
VLAN 10.
[RouterA] interface bridge-aggregation 1
[RouterA-Bridge-Aggregation1] port link-type trunk
[RouterA-Bridge-Aggregation1] port trunk permit vlan 10
Please wait... Done.
Configuring GigabitEthernet4/0/1... Done.
Configuring GigabitEthernet4/0/2... Done.










