7.
Link Aggregation Groups (LAGs)
MN700004 Rev 01
56
Argument Description
priority
Priority value, in the range 1 (highest priority) to 65535 (lowest priority).
Example
The following command sets the LACP system priority to 1 (the highest priority).
device-name
(cfg protocol)#
link-aggregation lacp system-priority 1
device-name
(cfg protocol)#
link-aggregation lacp system-priority
System priority = 1
Enabling and Configuring an Interface for LACP Aggregation
The
link-aggregation lacp
command, in Interface Configuration mode, enables the
configured interface to be added to or removed from a LAG dynamically by the LACP. It also
sets LACP parameters. The
no
form of the command disables LACP on the configured
interface. The
no
link-aggregation lacp port-priority
command resets the LACP priority of
the configured interface to the default value.
If
port priority
is specified without a value, the command shows the current value.
If no optional arguments are entered and the configured interface is not LACP-enabled, the
interface is configured with default argument values. If the interface is LACP-enabled, only
explicitly entered optional arguments take effect.
When an interface is set to LACP
passive
mode, it will not start to exchange LACP frames
until it receives such frames from the remote switch.
When an interface is set to LACP
active
mode, it will send LACP frames periodically (every
30 seconds). The exchange of LACP frames starts when the remote side answers.
By default, the LACP port is active with priority is 32768.
Command Syntax
device-name
(config-if
UU/SS/PP
)#
link-aggregation lacp
[
active
|
passive
]
[
port-priority
[<
priority
>]]
device-name
(config-if
UU/SS/PP
)#
no link-aggregation lacp port-priority
device-name
(config-if
UU/SS/PP
)#
no link-aggregation
Argument Description
active
Enable LACP in active mode (default).
passive
Enable LACP in passive mode.
port-priority <priority>
The port priority value, in the range <1-65535>.
Specifying the STP/RSTP/MSTP Port Priority
STP/RSTP/MSTP port priority can be specified for aggregate ports in the same way as for
normal ports. For details, refer to the respective (STP/RSTP/MSTP) chapter.