beautypg.com

H3C Technologies H3C S3600 Series Switches User Manual

Page 185

background image

1-11

system-view

[Sysname] link-aggregation group 1 mode static

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

[Sysname] interface Ethernet 1/0/1

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

[Sysname-Ethernet1/0/1] quit

[Sysname] interface Ethernet 1/0/2

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

[Sysname-Ethernet1/0/2] quit

[Sysname] interface Ethernet1/0/3

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

3) Adopting

dynamic

LACP aggregation mode

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

system-view

[Sysname] interface Ethernet 1/0/1

[Sysname-Ethernet1/0/1] lacp enable

[Sysname-Ethernet1/0/1] quit

[Sysname] interface Ethernet 1/0/2

[Sysname-Ethernet1/0/2] lacp enable

[Sysname-Ethernet1/0/2] quit

[Sysname] interface Ethernet1/0/3

[Sysname-Ethernet1/0/3] lacp enable

The three LACP-enabled ports can be aggregated into one dynamic aggregation group to implement

load sharing only when they have the same basic configuration (such as rate, duplex mode, and so on).

This manual is related to the following products: