7.
Link Aggregation Groups (LAGs)
MN700004 Rev 01
59
On each of the two switches, LACP is enabled in active mode on interfaces 1/1/17 and 1/1/20
as an aggregated link. The configuration of Switch2 is identical to that of Switch1.
1. Display the LACP status:
device-name
#
show link-aggregation lacp
LACP disabled on the system
2. Enter into Protocol Configuration mode and enable the LACP on switch 1:
device-name
#
configure terminal
device-name
(config)#
protocol
device-name
(cfg protocol)#
link-aggregation lacp enable
device-name
(cfg protocol)#
end
3. Display the LACP configuration:
device-name
#
show link-aggregation lacp
System ID = 00 00 02 03 04 05
System priority = 32768
No LAC ports configured
4. Enable LACP on interface 1/1/17:
device-name
#
configure terminal
device-name
(config)#
interface 1/1/17
device-name
(config-if 1/1/17)#
link-aggregation lacp
5. Enable LACP on interface 1/1/20:
device-name
(config-if 1/1/17)#
interface 1/1/20
device-name
(config-if 1/1/20)#
link-aggregation lacp
device-name
(config-if 1/1/20)#
end
6. Display the LACP configuration
device-name
#
show link-aggregation lacp
System ID = 00 00 02 03 04 05
System priority = 32768
========+========+=======+=========
Port | Mode | Key | Prty |
--------+--------+-------+--------+
1/1/17 | active | 9 | 32768 |
1/1/20 | active | 8 | 32768 |
========+========+=======+=========
7. If there is a link between the switches, the following results on each switch will be
displayed:
device-name
#
show interface link-aggregation
==========+========+=================+=====================
Aggregate |Type | Management Name | Ports |
----------+--------+-----------------+--------------------+
AG09 | LACP | LACP9 | 1/1/17,1/1/20 |
==========+========+=================+=====================