beautypg.com

H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 58

background image

48

# Assign ports GigabitEthernet 1/0/1 through GigabitEthernet 1/0/2 to link aggregation group

1.

[AC1] interface gigabitethernet 1/0/1

[AC1-GigabitEthernet1/0/1] port link-aggregation group 1

[AC1-GigabitEthernet1/0/1] quit

[AC1] interface gigabitethernet 1/0/2

[AC1-GigabitEthernet1/0/2] port link-aggregation group 1

[AC1-GigabitEthernet1/0/2] quit

# Configure Layer 2 aggregate interface Bridge-Aggregation 1 as a trunk port and assign it to
VLANs 10 and 20.

[AC1] interface bridge-aggregation 1

[AC1-Bridge-Aggregation1] port link-type trunk

[AC1-Bridge-Aggregation1] port trunk permit vlan 10 20

Please wait... Done.

Configuring GigabitEthernet1/0/1... Done.

Configuring GigabitEthernet1/0/2... Done.

[AC1-Bridge-Aggregation1] quit

# Configure AC 1 to use the source and destination MAC addresses of packets as the global
link-aggregation load sharing criteria.

[AC1] link-aggregation load-sharing mode source-mac destination-mac

2.

Configure AC 2 in the same way as you configure AC 1.

3.

Verify the configurations:
# Display summary information about all aggregation groups on AC 1.

[AC1] display link-aggregation summary

Aggregation Interface Type:

BAGG -- Bridge-Aggregation, RAGG -- Route-Aggregation

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

AGG Select Unselect Share

Interface Ports Ports Type

--------------------------------------------------------------------------------

BAGG1 2 0 Shar

The output shows that link aggregation group 1 is a load shared Layer 2 static aggregation group

and it contains two Selected ports.
# Display the global link-aggregation load sharing criteria on AC 1.

[AC1] display link-aggregation load-sharing mode

Link-Aggregation Load-Sharing Mode:

destination-mac address, source-mac address

The output shows that all link aggregation groups created on the device perform load sharing
based on source and destination MAC addresses.