R2511-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V5)

93
Configuration procedure
1. Configure Router A:
# Create VLAN 10, and assign the port Ethernet 1/4 to VLAN 10.
<RouterA> system-view
[RouterA] vlan 10
[RouterA-vlan10] port ethernet 1/4
[RouterA-vlan10] quit
# Create VLAN 20, and assign the port Ethernet 1/5 to VLAN 20.
[RouterA] vlan 20
[RouterA-vlan20] port ethernet 1/5
[RouterA-vlan20] quit
# Create Layer 2 aggregate interface Bridge-Aggregation 1, and configure the link aggregation
mode as dynamic.
[RouterA] interface bridge-aggregation 1
[RouterA-Bridge-Aggregation1] link-aggregation mode dynamic
# Assign ports Ethernet 1/1 through Ethernet 1/3 to link aggregation group 1 one at a time.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] port link-aggregation group 1
[RouterA-Ethernet1/1] quit
[RouterA] interface ethernet 1/2
[RouterA-Ethernet1/2] port link-aggregation group 1
[RouterA-Ethernet1/2] quit
[RouterA] interface ethernet 1/3
[RouterA-Ethernet1/3] port link-aggregation group 1
[RouterA-Ethernet1/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 Ethernet1/1... Done.
Configuring Ethernet1/2... Done.
Configuring Ethernet1/3... Done.
[RouterA-Bridge-Aggregation1] quit
2. Configure Router B in the same way Router A is configured.
Verifying the configuration
# 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
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Actor System ID: 0x8000, 000f-e2ff-0001