7.
Link Aggregation Groups (LAGs)
MN700004 Rev 01
63
----------+--------+-----------------+--------------------+
AG01 | LACP | LACP1 | 1/1/1-1/1/4 |
==========+========+=================+=====================
Switch 3:
Switch3
#
show interface link-aggregation
==========+========+=================+=====================
Aggregate |Type | Management Name | Ports |
----------+--------+-----------------+--------------------+
AG05 | LACP | LACP5 | 1/1/3-1/1/4 |
==========+========+=================+=====================
Example of Static Link Aggregation with RSTP
The following example shows how to establish two static link aggregation groups between
two switches with fast Ethernet interfaces, as shown in Figure 7-4. This setup requires a
mechanism such as the Rapid Spanning Tree algorithm to prevent the two LAGs from
forming a loop. For more information on the Rapid Spanning Tree algorithm, see "RSTP
(Rapid Spanning Tree Protocol)".
The configuration of Switch2 is identical to that of Switch1. However, there are differences in
the display of the RSTP configuration parameters, since RSTP automatically selects one
switch (Switch 1 in our case) as the root bridge, and the other switch (Switch 2 in our case) as
the designated bridge. This difference is reflected in the results of the
show rapid-spanning-
tree
command, when applied to both switches.
Figure 7-4: Example of Two Static LAGs with RSTP
Configuring Switch 1:
1. Enabling RSTP:
Switch1
#
configure terminal