Page 411 / 757 Scroll up to view Page 406 - 410
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
407
53
LINK AGGREGATION COMMANDS
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
.
1.
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.
2.
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:
Page 412 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
408
DGS-3627:admin# create link_aggregation group_id 1
Command: create link_aggregation group_id 1
Success.
DGS-3627:admin#
delete link_aggregation group_id
Purpose
Used to delete a previously created link aggregation group.
Syntax
delete link_aggregation group_id <value 1-32>
Description
This command is used to delete a previously configured link aggregation group.
Parameters
<value 1-32>
Specifies the group ID. The Switch allows up to 32 link aggregation groups to be
configured. The group number identifies each of the groups.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete link aggregation group:
DGS-3627:admin# delete link_aggregation group_id 6
Command: delete link_aggregation group_id 6
Success.
DGS-3627:admin#
config link_aggregation
Purpose
Used to configure a previously created link aggregation group.
Syntax
config link_aggregation group_id <value 1-32> {master_port <port> | ports <portlist> | state
[enable | disable]
Description
This command allows users to configure a link aggregation group that was created with the
create
link_aggregation
command above.
Parameters
group _id <value 32>
Specifies the group ID. The Switch allows up to 32 link aggregation groups
to be configured. The group number identifies each of the groups.
master_port <port>
Master port ID. Specifies which port (by port number) of the link aggregation
group will be the master port. All of the ports in a link aggregation group will share the port
configuration with the master port.
ports <portlist>
Specifies a port or range of ports that will belong to the link aggregation group
including the master port. The beginning and end of the port list range are separated by a dash.
Non-contiguous portlist entries are separated by a comma. (ex: 1-3,7-9)
state [enable | disable]
Allows users to enable or disable the specified link aggregation group.
Restrictions
Only Administrator and Operator-level users can issue this command. Link aggregation groups
may not overlap.
Page 413 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
409
Example usage:
To define a load-sharing group of ports, group-id 1,master port 5 with group members ports 5-7 plus port 9:
DGS-3627:admin# config link_aggregation group_id 1 master_port 1:5 ports 1:5-1:7,9
Command: config link_aggregation group_id 1 master_port 1:5 ports 1:5-1:7,1:9
Success.
DGS-3627:admin#
config link_aggregation algorithm
Purpose
Used to configure the link aggregation algorithm.
Syntax
config link_aggregation algorithm [mac_source | mac_destination | mac_source_dest |
ip_source | ip_destination | ip_source_dest]
Description
This command configures the part of the packet examined by the Switch when selecting the egress
port for transmitting load-sharing data. This feature is only available using the address-based load-
sharing algorithm.
Parameters
mac_source
Indicates that the Switch should examine the source MAC address.
mac_destination
Indicates that the Switch should examine the destination MAC address.
mac_source_dest
Indicates that the Switch should examine the source and destination MAC
addresses
ip_source
Indicates that the Switch should examine the source IP address.
ip_destination
Indicates that the Switch should examine the destination IP address.
ip_source_dest
Indicates that the Switch should examine the source and the destination IP
address.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure link aggregation algorithm for mac-source-dest:
DGS-3627:admin# config link_aggregation algorithm mac_source_dest
Command: config link_aggregation algorithm mac_source_dest
Success.
DGS-3627:admin#
show link_aggregation
Purpose
Used to display the current link aggregation configuration on the Switch.
Syntax
show link_aggregation {group_id <value 1-32> | algorithm}
Description
This command will display the current link aggregation configuration of the Switch.
Parameters
<value 1-32>
Specifies the group ID. The Switch allows up to 32 link aggregation groups to
be configured. The group number identifies each of the groups.
algorithm
Allows you to specify the display of link aggregation by the algorithm in use by
that group.
Restrictions
None.
Page 414 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
410
Example usage:
To display Link Aggregation configuration:
DGS-3627:admin# show link_aggregation
Command: show link_aggregation
Link Aggregation Algorithm = IP-source
Group ID
: 1
Type
: TRUNK
Master Port
: 1:5
Member Port
: 1:5-1:7,1:9
Active Port
:
Status
: Disabled
Flooding Port :
Total Entries : 1
DGS-3627:admin#
config lacp_ports
Purpose
Used to configure settings for LACP compliant ports.
Syntax
config lacp_ports <portlist> mode [active | passive]
Description
This command is used to configure ports that have been previously designated as LACP ports
(see
create link_aggregation
).
Parameters
<portlist>
Specifies a port or range of ports to be configured. The beginning and end of the
port list range are separated by a dash. Non-contiguous portlist entries are separated by a
comma. (ex: 1-3,7-9)
mode
– Select the mode to determine if LACP ports will process LACP control frames.
1.
active
– Active LACP ports are capable of processing and sending LACP control
frames. This allows LACP compliant devices to negotiate the aggregated link so the
group may be changed dynamically as needs require. In order to utilize the ability to
change an aggregated port group, that is, to add or subtract ports from the group, at
least one of the participating devices must designate LACP ports as active. Both
devices must support LACP.
2.
passive
– LACP ports that are designated as passive cannot process LACP control
frames. In order to allow the linked port group to negotiate adjustments and make
changes dynamically, at one end of the connection must have “active” LACP ports (see
above).
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure LACP port mode settings:
DGS-3627:admin# config lacp_port 1:1-1:12 mode active
Command: config lacp_port 1:1-1:12 mode active
Success.
DGS-3627:admin#
Page 415 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
411
show lacp_port
Purpose
Used to display current LACP port mode settings.
Syntax
show lacp_port {<portlist>}
Description
This command will display the LACP mode settings as they are currently configured.
Parameters
<portlist>
Specifies a port or range of ports to be configured. The beginning and end of the
port list range are separated by a dash. Non-contiguous portlist entries are separated by a
comma. (ex: 1-3,7-9) If no parameter is specified, the system will display the current LACP
status for all ports.
Restrictions
None.
Example usage:
To display LACP port mode settings:
DGS-3627:admin# show lacp_port 1-10
Command: show lacp_port 1-10
Port
Activity
-----
--------
1:1
Active
1:2
Active
1:3
Active
1:4
Active
1:5
Active
1:6
Active
1:7
Active
1:8
Active
1:9
Active
1:10
Active
DGS-3627:admin#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top