Quick Reference Guide
Link Aggregation | 171
LAG Configuration Examples
This section contains the following configuration examples:
• Basic LAG configuration example on page 172
• Adding a LAG to a VLAN on page 173
• Using the Interface Range mode on page 174
• LACP configuration example on page 175
2
interface port-channel
1–128
(Before v. 2.5.1, the syntax
was port-channel
name)
Global Config Create the LAG and/or enter Interface Port Channel
Config mode. For the LAG ID, enter an integer between 1
and 128 that is not already in use by another LAG. The
character string allows the dash “-” character as well as
alphanumeric characters.
3
no shutdown Interface Port
Channel Config
Enable the LAG.
4[no] channel-member unit/
slot/port
–unit/slot/port,unit/
slot/port
Interface Port
Channel Config
Add to the selected LAG (or delete from it), one or more
ports. You can specify a range of ports with a hyphen (for
consecutive port IDs) or with commas (no space before or
after).
(Before v. 2.5.1, the syntax was addport, executed from
the Interface Config mode. This command is still
available.)
5
protocol static Interface Port
Channel Config
(OPTIONAL) Convert the selected LAG to static. By
default, static capability is disabled. (Before v. 2.5.1, the
syntax was port-channel staticcapability, in Global
Config mode.)
6
protocol lacp Interface Port
Channel Config
(OPTIONAL) Use this command if the LAG was
converted to static and you want to reenable LACP.
Step Command Syntax Command Mode Purpose (continued)