7.
Complex LACP Configuration
The following example establishes two dynamic link aggregation groups between three
switches, as shown in Figure 7-3.
Figure 7-3: Example of Two LAGs Configured on the Same Switch
Configuring Switch 1:
On Switch 1, LACP is enabled in active mode on the following interfaces:
• 1/1/1, 1/1/2, 1/1/3 and 1/1/4, as an aggregated link to Switch 2;
• 1/1/5 and 1/1/6, as an aggregated link to Switch 3.
1. Enter into Protocol Configuration mode and enable the LACP on switch 1:
Switch1#configure terminal
Switch1(config)#protocol
Switch1(cfg protocol)#link-aggregation lacp enable
Switch1(cfg protocol)#end
2. Display the LACP configuration:
Switch1#show link-aggregation lacp
System ID
= 00 00 02 03 04 05
System priority = 32768
No LAC ports configured
3. Enable LACP on interfaces 1/1/1, 1/1/2, 1/1/3, 1/1/4, 1/1/5 and 1/1/6:
Switch1(config)#interface 1/1/1
Switch1(config-if 1/1/1)#link-aggregation lacp
Switch1(config-if 1/1/1)#interface 1/1/2
Switch1(config-if 1/1/2)#link-aggregation lacp
Switch1(config-if 1/1/2)#interface 1/1/3
Switch1(config-if 1/1/3)#link-aggregation lacp
Switch1(config-if 1/1/3)#interface 1/1/4
Switch1(config-if 1/1/4)#link-aggregation lacp
Switch1(config-if 1/1/4)#interface 1/1/5
Switch1(config-if 1/1/5)#link-aggregation lacp
Switch1(config-if 1/1/5)#interface 1/1/6
Switch1(config-if 1/1/6)#link-aggregation lacp
Switch1(config-if 1/1/6)#end
MN700004 Rev 01
Link Aggregation Groups (LAGs)
60