
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
136
DGS–3426:5#config link_aggregation group_id 1 master_port 1:5 ports 1:5–1:7,1:9
Command: config link_aggregation group_id 1 master_port 1:5 ports 1:5–1:7,1:9
Success.
DGS–3426:5#
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 is used to configure 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 MAC source address.
mac_destination − Indicates that the Switch should examine the MAC destination
address.
mac_source_dest − Indicates that the Switch should examine the MAC source and
destination addresses
ip_source − Indicates that the Switch should examine the IP source address.
ip_destination − Indicates that the Switch should examine the IP destination address.
ip_source_dest − Indicates that the Switch should examine the IP source address and the
destination address.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure link aggregation algorithm for mac–source–dest:
DGS–3426:5#config link_aggregation algorithm mac_source_dest
Command: config link_aggregation algorithm mac_source_dest
Success.
DGS–3426:5#
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 is used to 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 the display of link aggregation to be specified by the algorithm in use.
Restrictions None.
Example usage:
To display the Link Aggregation configuration: