beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 149

background image

Operation Manual – Link Aggregation

H3C S3100-52P Ethernet Switch

Chapter 1 Link Aggregation Configuration

1-13

[H3C-Ethernet1/0/3] port link-aggregation group 1

2) Adopting

static

LACP aggregation mode

# Create static aggregation group 1.

system-view

[H3C] link-aggregation group 1 mode static

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

[H3C] interface Ethernet1/0/1

[H3C-Ethernet1/0/1] port link-aggregation group 1

[H3C-Ethernet1/0/1] interface Ethernet1/0/2

[H3C-Ethernet1/0/2] port link-aggregation group 1

[H3C-Ethernet1/0/2] interface Ethernet1/0/3

[H3C-Ethernet1/0/3] port link-aggregation group 1

3) Adopting

dynamic

LACP aggregation mode

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

system-view

[H3C] interface Ethernet1/0/1

[H3C-Ethernet1/0/1] lacp enable

[H3C-Ethernet1/0/1] interface Ethernet1/0/2

[H3C-Ethernet1/0/2] lacp enable

[H3C-Ethernet1/0/2] interface Ethernet1/0/3

[H3C-Ethernet1/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).