xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
136
D G S – 3 4 2 6 : 5 # c o n f i g l i n k _ a g g r e g a t i o n g r o u p _ i d 1 m a s t e r _ p o r t 1 : 5 p o r t s 1 : 5 – 1 : 7 , 1 : 9
C o m m a n d : c o n f i g l i n k _ a g g r e g a t i o n g r o u p _ i d 1 m a s t e r _ p o r t 1 : 5 p o r t s 1 : 5 – 1 : 7 , 1 : 9
S u c c e s s .
D G S – 3 4 2 6 : 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:
D G S – 3 4 2 6 : 5 # c o n f i g l i n k _ a g g r e g a t i o n a l g o r i t h m m a c _ s o u r c e _ d e s t
C o m m a n d : c o n f i g l i n k _ a g g r e g a t i o n a l g o r i t h m m a c _ s o u r c e _ d e s t
S u c c e s s .
D G S – 3 4 2 6 : 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: