50 CHAPTER 2: PORT CONFIGURATION
Example: Link Aggregation Configuration
Switch A connects switch B with three aggregation ports, numbered as
Ethernet1/0/1 to Ethernet1/0/3, so that the incoming and outgoing loads can be
balanced among the member ports.
Figure 14 Networking For Link Aggregation
The following code example lists only the configuration for switch A. The
configuration for switch B is similar.
1 Configure a manual link aggregation
■ Create manual aggregation group 1.
[SW7750] link-aggregation group 1 mode manual
■ Add Ethernet ports Ethernet1/0/1 to Ethernet1/0/3 into aggregation group 1.
[SW7750] interface ethernet1/0/1
[SW7750-Ethernet1/0/1] port link-aggregation group 1
[SW7750-Ethernet1/0/1] interface ethernet1/0/2
[SW7750-Ethernet1/0/2] port link-aggregation group 1
[SW7750-Ethernet1/0/2] interface ethernet1/0/3
[SW7750-Ethernet1/0/3] port link-aggregation group 1
2 Configure a static LACP aggregation
■ Create static LACP aggregation group 1.
[SW7750] link-aggregation group 1 mode static
■ Add Ethernet ports Ethernet1/0/1 to Ethernet1/0/3 into aggregation group 1.
[SW7750] interface ethernet1/0/1
[SW7750-Ethernet1/0/1] port link-aggregation group 1
[SW7750-Ethernet1/0/1] interface ethernet1/0/2
[SW7750-Ethernet1/0/2] port link-aggregation group 1
[SW7750-Ethernet1/0/2] interface ethernet1/0/3
[SW7750-Ethernet1/0/3] port link-aggregation group 1
3 Configure a dynamic LACP aggregation
■ Enable LACP at Ethernet ports Ethernet1/0/1 to Ethernet1/0/3.
[SW7750] interface ethernet1/0/1
[SW7750-Ethernet1/0/1] lacp enable
[SW7750-Ethernet1/0/1] interface ethernet1/0/2
[SW7750-Ethernet1/0/2] lacp enable
[SW7750-Ethernet1/0/2] interface ethernet1/0/3
[SW7750-Ethernet1/0/3] lacp enable