7.
Link Aggregation Groups (LAGs)
MN700004 Rev 01
61
4. Display the LACP configuration:
Switch1
#
show link-aggregation lacp
System ID = 00 00 02 03 04 05
System priority = 32768
========+========+=======+=========
Port | Mode | Key | Prty |
--------+--------+-------+--------+
1/1/1 | active | 1 | 32768 |
1/1/2 | active | 1 | 32768 |
1/1/3 | active | 1 | 32768 |
1/1/4 | active | 1 | 32768 |
1/1/5 | active | 9 | 32768 |
1/1/6 | active | 9 | 32768 |
========+========+=======+=========
Configuring Switch 2:
On
Switch 2
, LACP is enabled in active mode on interfaces 1/1/1, 1/1/2, 1/1/3 and 1/1/4, as
an aggregated link to Switch 1.
1. Enter into Protocol Configuration mode and enable the LACP on switch 2:
Switch2
#
configure terminal
Switch2
(config)#
protocol
Switch2
(cfg protocol)#
link-aggregation lacp enable
Switch2
(cfg protocol)#
end
2. Display the LACP configuration:
Switch2
#
show link-aggregation lacp
System ID = 00 a0 12 05 3a 80
System priority = 32768
No LAC ports configured
3. Enable LACP on interfaces 1/1/1, 1/1/2, 1/1/3 and 1/1/4:
Switch2
#
configure terminal
Switch2
(config)#
interface 1/1/1
Switch2
(config-if 1/1/1)#
link-aggregation lacp
Switch2
(config-if 1/1/1)#
interface 1/1/2
Switch2
(config-if 1/1/2)#
link-aggregation lacp
Switch2
(config-if 1/1/2)#
interface 1/1/3
Switch2
(config-if 1/1/3)#
link-aggregation lacp
Switch2
(config-if 1/1/3)#
interface 1/1/4
Switch2
(config-if 1/1/4)#
link-aggregation lacp
Switch2
(config-if 1/1/4)#
end
4. Display the LACP configuration:
Switch2
#
show link-aggregation lacp
System ID = 00 a0 12 05 3a 80
System priority = 32768
========+========+=======+=========
Port | Mode | Key | Prty |
--------+--------+-------+--------+
1/1/1 | active | 1 | 32768 |
1/1/2 | active | 1 | 32768 |
1/1/3 | active | 1 | 32768 |
1/1/4 | active | 1 | 32768 |
========+========+=======+=========