xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
369
To define a load-sharing group of ports, group-id 1,master port 5 with group members ports 5-7 plus port 9:
DGS-3450: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-3450: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-3450:admin# config link_aggregation algorithm mac_source_dest
Command: config link_aggregation algorithm mac_source_dest
Success.
DGS-3450: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.
Example usage: