H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 138

Advertising
background image

16-10

# Create manual aggregation group 1.

<device> system-view

[device] link-aggregation group 1 mode manual

# Add GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to aggregation group 1.

[device] interface GigabitEthernet1/0/1

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

[device-GigabitEthernet1/0/1] interface GigabitEthernet1/0/2

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

[device-GigabitEthernet1/0/2] interface GigabitEthernet1/0/3

[device-GigabitEthernet1/0/3] port link-aggregation group 1

2) Adopting

static

LACP aggregation mode

# Create static aggregation group 1.

<device> system-view

[device] link-aggregation group 1 mode static

# Add GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to aggregation group 1.

[device] interface GigabitEthernet1/0/1

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

[device-GigabitEthernet1/0/1] interface GigabitEthernet1/0/2

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

[device-GigabitEthernet1/0/2] interface GigabitEthernet1/0/3

[device-GigabitEthernet1/0/3] port link-aggregation group 1

3) Adopting

dynamic

LACP aggregation mode

# Enable LACP on GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3.

<device> system-view

[device] interface GigabitEthernet1/0/1

[device-GigabitEthernet1/0/1] lacp enable

[device-GigabitEthernet1/0/1] interface GigabitEthernet1/0/2

[device-GigabitEthernet1/0/2] lacp enable

[device-GigabitEthernet1/0/2] interface GigabitEthernet1/0/3

[device-GigabitEthernet1/0/3] lacp enable

Note that, the three LACP-enabled ports can be aggregated into a dynamic aggregation group to
implement load sharing only when they have the same basic configuration (such as rate and duplex
mode and so on).

Advertising