Fujitsu XG2000 Switch User Manual


 
XG2000 series User's Guide
134/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.8.2 link-aggregation
Function
Link aggregation is a function wherein multiple ports within a switch act as one logical link (aggregated group). This command
is used to set up a link aggregation group.
There are two types of link aggregation: static link and LACP.
z Static link aggregation
An aggregation group is created statically.
z LACP link aggregation
An aggregation group in compliance with IEEE802.3ad LACP (Link Aggregation Control Protocol)
is created. LACP is a control protocol among switches for dynamically assembling an
aggregation group.
Use the no form to delete an aggregation group.
Prompt
xg(config)#
Command syntax
link-aggregation agg-port <1-10> [protocol {none | lacp}] [lacp-mode {active | passive}]
[load-balance {dst-mac | src-mac | dst-src-mac | vlan | ip-hash}]
[ distribution-parameter <0-3> ]
[minimum-port <1-10>] port <1-20> <1-20> [ <1-20> ]
no link-aggregation agg-port <1-10>
Parameter
z agg-port <1-10>
Specifies the aggregation group number to create. Specify a number in the range of 1 to 10.
z protocol {none | lacp}
Specifies the protocol type of the link aggregation.
none
A static link aggregation group.
lacp
A link aggregation group using IEEE802.3ad LACP as the control protocol between
switches.
When this parameter is omitted, "none" is assumed.
z lacp-mode {active | passive}
Specifies the operational mode of LACP negotiation.
active
Negotiation of LACP is started from the device. Also, since the active mode can receive
LACP packets, a connection between two LACP active mode enabled switches is possible.
passive
The device will be in the passive mode of the LACP protocol. The switch responds to
LACP packets, but will not start negotiation.
This parameter can be specified only when "lacp" is specified as the "protocol" parameter.
When this parameter is omitted, "active" is assumed.
z load-balance { dst-mac | src-mac | dst-src-mac | vlan | ip-hash }
Specifies the frame distribution method for each port in the aggregation group
dst-mac
Determines the forwarding destination port, based on the destination MAC address of
the frames.
src-mac
Determines the forwarding destination port, based on the source MAC address.
dst-src-mac
Determines the forwarding destination port, based on the destination MAC address of
a frame and the source MAC address.
vlan
Determines the forwarding destination port, based on VLAN membership.
Ip-hash
Determines the forwarding destination port, based on the IP hash information.
When this parameter is omitted, "dst-mac" is assumed.
z If there are not many MAC addresses to be distributed across an aggregation group, the distribution
among the destination ports tends to become biased. To reduce such bias, use a distribution method
that uses more MAC addresses.
If a server is connected to an aggregation group and a client is connected to a different port, it is
recommended that either "src-mac" or "dst-src-mac" be used.
z If the load balancing of frame forwarding is questioned, the traffic state of each port can be checked
by using the "monitor traffic-bytes" or the "monitor traffic-counts" commands.