D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
479
state - Enable or disable the specified link aggregation group. If LACP group state is enabled, the
ports’ state machine will start.
enable - Enable the specified link aggregation group.
disable - Disable the specified link aggregation group.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure a link aggregation group, group-id 1, master port 7, member ports 5-7:
DGS-3420-28SC:admin#config link_aggregation group_id 1 master_port 7 ports 5-7
Command: config link_aggregation group_id 1 master_port 7 ports 5-7
Success.
DGS-3420-28SC:admin#
47-4 config link_aggregation algorithm
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.
If the load sharing algorithm is based on IP information and the packet is a non-IP packet, it will be
based on the source MAC.
If the load sharing algorithm is based on L4 information and the packet is not a TCP/UDP packet:
1) If the packet is a non-IP packet, it will be based on the source MAC.
2) If the packet is an IP packet, it will use the default value of "0" for the TCP/UDP port. It
means that if it is not a TCP/UDP IP packet, it will deal with it the same as way as the
TCP/UDP packets, but just the TCP/UDP value is 0.
Format
config link_aggregation algorithm [mac_source | mac_destination | mac_source_dest |
ip_source | ip_destination | ip_source_dest | l4_src_port | l4_dest_port | l4_src_dest_port]
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
address.
ip_source - Indicate that the switch should examine the IP source address.
ip_destination - Indicate that the switch should examine the IP destination address.
ip_source_dest - Indicate that the switch should examine the IP source and destination address.
l4_src_port - Indicate that the switch should examine the Layer 4 source port.
l4_dest_port - Indicate that the switch should examine the Layer 4 destination port.
l4_src_dest_port - Indicate that the switch should examine the Layer 4 source and destination
port.