xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
146
18
L
INK
A
GGREGATION
C
OMMANDS
The link aggregation commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Link aggregation, also known as trunking, is a method of grouping physical link segments of the same media type and speed, and
treating them as if they were part of a single, logical link segment. In general, link aggregation provides two important benefits:
increased performance and increased resiliency.
Command Parameters
create link_aggregation group_id
<value 1-32> {type [lacp | static]}
delete link_aggregation group_id
<value 1-32>
config link_aggregation group_id
<value 1-32> {master_port <port> | ports <portlist> | state
[enable | disable]}
config link_aggregation algorithm
[mac_source | mac_destination | mac_source_dest | ip_source |
ip_destination | ip_source_dest]
show link_aggregation
{group_id <value 1-32> | algorithm}
config lacp_port
<portlist> mode [active | passive]
show lacp_port
{<portlist>}
Each command is listed, in detail, in the following sections.
create link_aggregation
Purpose
Used to create a link aggregation group on the Switch.
Syntax
create link_aggregation group_id <value 1-32> {type [lacp | static]}
Description
This command will create a link aggregation group with a unique identifier.
Parameters
<value>
−
Specifies the group ID. The Switch allows up to 32 link aggregation
groups to be configured. The group number identifies each of the groups.
type
– Specify the type of link aggregation used for the group. If the type is not
specified the default type is
static
.
•
lacp
– This designates the port group as LACP compliant. LACP
allows dynamic adjustment to the aggregated port group. LACP
compliant ports may be further configured (see config lacp_ports).
LACP compliant must be connected to LACP compliant devices.
•
static
– This designates the aggregated port group as static. Static
port groups can not be changed as easily as LACP compliant port
groups since both linked devices must be manually configured if the
configuration of the trunked group is changed.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create a link aggregation group: