Sie sind auf Seite 1von 10

Link Aggregation Static, 802.

3ad LACP

Link Aggregation
Link aggregation is used to combine a number of ports together to make a single high-bandwidth data pipeline. The participating parts are called members of a link aggregation group, with one port designated as the master port of the group. Since all members of the link aggregation group must be configured to operate in the same manner, the configuration of the master port is applied to all members of the link aggregation group. Thus, when configuring the ports in a link aggregation group, you only need to configure the master port. The DES-3226S supports link aggregation groups, which may include from 2 to 8 Switch ports each, except for a Gigabit link aggregation group which consists of the 2 (optional) Gigabit Ethernet ports of the front.

Link Aggregation - Example


There are four client PCs access the servers services. Through load sharing algorithms based on MAC, the traffic can be shared on 4 trunk port.
server

Description:
The traffic between PC-1 and server through the first trunk port. The traffic between PC-2 and server through the second trunk port. The traffic between PC-3 and server through the third trunk port. The traffic between PC-4 and server through the fourth trunk port.
PC-1 PC-2

Link aggregation group

PC-3

PC-4

Two link Aggregation methods

1. Static
(previously D-Link switches supported)

2. IEEE 802.3ad
LACP, dynamic (New)

Static vs. LACP Link Aggregation


IEEE 802.1ad Link Aggregation Control Protocol (LACP) is used to negotiate a dynamic aggregated link between this Switch and another network device. For static aggregated links (the default port setting for link aggregation is static), the linked Switches must be manually configured and do not allow dynamic changes to the aggregated port group. For dynamic aggregated links (designated LACP-compliant ports), the Switches must comply with LACP to allow negotiation of the aggregated link. Dynamic link aggregation can be negotiated if one port group is configured to be the active group while the other port group is designated as a passive group. If type is not specified the default type is Static. Aggregated ports may be either LACP or Static. LACP indicates the port group as LACP compliant so they can be connected to a n LACP compliant device. Static trunk groups are not able to adjust dynamically and both devices connected to the static trunk group must be manually configured if the composition of the group is changed.

Link Aggregation Algorithm

Link Algorithm (per device) is used to determine which port out of member ports to be used to transmit packets. There are Six algorithms. Default is MAC-source. 1. mac_source 2. mac_destination 3. mac_source_dest 4. ip_source 5. ip_destination 6. ip_source_dest

(Scenario) Static Link Aggregation


Configure Link Aggregation
For Switch A (member port 2, 4, 6 and 8) Commend: 1. Create link aggregation group create link_aggregation group_id 1 type static config link_aggregation algorithm mac_destination 2. Select link aggregation group member config link_aggregation group_id 1 master_port 2 ports 2,4,6,8 state enabled
Link aggregation group

server

Switch A

Switch B
For Switch B (member port 1, 3, 5 and 7) Commend: 1. Create link aggregation group create link_aggregation group_id 1 config link_aggregation algorithm mac_source 2. Select link aggregation group member config link_aggregation group_id 1 master_port 1 ports 1,3,5,7 state enabled
PC-1 PC-2 PC-3 PC-4

(Scenario) Dynamic (LACP) Link Aggregation


For Switch A (member ports auto-negotiated from 1-8) Create link aggregation group create link_aggregation group_id 1 type lacp create link_aggregation group_id 2 type lacp config link_aggregation algorithm mac_destination 2. Select link aggregation group member config link_aggregation group_id 1 master_port 1 ports 1-4 state enabled config lacp ports 1-4 mode active

Switch A

config link_aggregation group_id 2 master_port 5 ports Switch B 5-8 state enabled config lacp ports 5-8 mode active For Switch B and Switch C (member ports auto-negotiated from 1-4) 1. Create link aggregation group create link_aggregation group_id 1 type lacp config link_aggregation algorithm mac_source 2. Select link aggregation group member config link_aggregation group_id 1 master_port 1 ports 1-4 state enabled

Switch C

(Scenario) Link Aggregation Algorithm -- IP


192.168.0.x
192.168.0.2 DefaultGW=192.168.0.254

Algorithm= ip_destination L2 switch Algorithm= ip_source

192.168.0.254

L3 Switch

192.168.1.x

192.168.2.x

Notice: 1. If one end of trunk is configured to LACP, the other end must be configured to LACP also. One end LACP and the other end static will not work. 2. If 802.3ad supported switch needs to trunk to old switch supporting static trunk only, the 802.3ad switch must configured to Static mode. 3. If old D-Link switch supporting static trunking only wants to link to Cisco switch, the Cisco switch trunking mode need select 802.1q trunk (e.g. Cisco 3600).

Das könnte Ihnen auch gefallen