42
C
2: P
C
HAPTER
ORT
ONFIGURATION
Example: Link
Aggregation
Configuration
Table 23 Display and Debug Link Aggregation (continued)
Operation
Disable/enable debugging LACP state machine [ undo ] debugging lacp state [ interface {
Disable/enable debugging LACP packets
Disable/enable debugging link aggregation
errors
Disable/enable debugging link aggregation
events
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 2 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.
■
[SW7700] link-aggregation group 1 mode manual
Add Ethernet ports Ethernet1/0/1 to Ethernet1/0/3 into aggregation group 1.
■
[SW7700] interface ethernet1/0/1
[SW7700-Ethernet1/0/1] port link-aggregation group 1
[SW7700-Ethernet1/0/1] interface ethernet1/0/2
[SW7700-Ethernet1/0/2] port link-aggregation group 1
[SW7700-Ethernet1/0/2] interface ethernet1/0/3
[SW7700-Ethernet1/0/3] port link-aggregation group 1
2 Configure a static LACP aggregation
Create static LACP aggregation group 1.
■
[SW7700] link-aggregation group 1 mode static
Add Ethernet ports Ethernet1/0/1 to Ethernet1/0/3 into aggregation group 1.
■
[SW7700] interface ethernet1/0/1
[SW7700-Ethernet1/0/1] port link-aggregation group 1
Command
interface-type interface-number |
interface-name } [ to { interface-type
interface-num | interface-name } ] ] { {
actor-churn | mux | partner-churn | ptx | rx
}* | all }
[ undo ] debugging lacp packet [ interface
{ interface-type interface-number |
interface-name } [ to { interface-type
interface-num | interface-name } ] ]
[ undo ] debugging link-aggregation error
[ undo ] debugging link-aggregation
event
Need help?
Do you have a question about the Switch 7700 and is the answer not in the manual?