Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
2K views23 pages

Bridge Aggregation - Tutorial

This document discusses bridge aggregation, also known as link aggregation. It describes how bridge aggregation combines multiple physical Ethernet links into a single logical link to increase bandwidth and improve reliability. The document provides examples of configuring bridge aggregation on devices in both static and dynamic modes at both layer 2 and layer 3. Member ports are combined into aggregation groups and traffic is load balanced across the group.

Uploaded by

shinden80
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views23 pages

Bridge Aggregation - Tutorial

This document discusses bridge aggregation, also known as link aggregation. It describes how bridge aggregation combines multiple physical Ethernet links into a single logical link to increase bandwidth and improve reliability. The document provides examples of configuring bridge aggregation on devices in both static and dynamic modes at both layer 2 and layer 3. Member ports are combined into aggregation groups and traffic is load balanced across the group.

Uploaded by

shinden80
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 23

Bridge Aggregation Tutorial

Bridge Aggregation Overview


Bridge Aggregation means : Ethernet/Gigabit Ethernet link aggregation or simply link aggregation Combines multiple physical ethernet/gigabit ethernet

Bridge Aggregation Benefit


Link aggregation deliver following benefit : Increase bandwidth beyond the limit of any single link Traffic distributed across the members port Improves link reliability Members port dynamically back up one another When fail traffic automatically switch to another members port

Bridge Aggregation Benefit


Device A and Device B are connected by three physical Ethernet links. These physical Ethernet links are combined into an aggregate link, link aggregation 1. The bandwidth of this aggregate link is as high as the total bandwidth of these three physical Ethernet links. At the same time, the three Ethernet links back up one another.

Basic Concept
Link aggregation is implemented through link aggregation groups. An aggregation group is a group of Ethernet interfaces combined together, which are called member ports of the aggregation group. For each aggregation group, a logical interface, called an aggregate interface, is created. A link aggregation group looks like a single logical link and data traffic is transmitted through the aggregate interface.

Basic Concept
Aggregate interfaces have the following types: - bridge-aggregation (BAGG) interfaces, also called Layer 2 aggregate interfaces . - route-aggregation (RAGG) interfaces, also called Layer 3 aggregate interfaces. When create Bridge Aggregation group , the router automatically creates an aggregation group of the same type and number as the aggregate interface.

Contd.
For example, when you create interface Bridge-Aggregation 1, Layer 2 aggregation group 1 is created. Layer 2 Ethernet interfaces only to a Layer 2 aggregation group, and Layer 3 Ethernet interfaces only to a Layer 3 aggregation group.

Contd.
NOTE:

The router supports up to 240 aggregation groups. On a Layer 3 aggregate interface, you can create subinterfaces. These subinterfaces are logical interfaces that operate at the network layer. They can receive VLAN tagged packets for their Layer 3 aggregate interface. The rate of an aggregate interface equals the total rate of its member ports in the Selected state, and its duplex mode is the same as the selected member ports

Contd.
A member port in an aggregation group can be in either of the following aggregation states: - Selected: A Selected port can forward user traffic. - Unselected: An Unselected port cannot forward user traffic.

Contd.
Link aggregation has the following modes. Aggregating links in static mode . * LACP is disabled on the member ports in a static aggregation group. You must manually maintain the aggregation state of the member ports Aggregating links in dynamic mode . * LACP is automatically enabled on all member ports in a dynamic aggregation group. The protocol automatically maintains the aggregation state of ports

10

Layer 2 static aggregation configuration


As shown in Figure 4: Device A and Device B are connected through their respective Layer 2 Ethernet interfaces GigabitEthernet 4/1/1 through GigabitEthernet 4/1/3. Configure a Layer 2 static aggregation group on Device A and Device B respectively, enable VLAN 10 at one end of the aggregate link to communicate with VLAN 10 at the other end, and VLAN 20 at one end to communicate with VLAN 20 at the other end. Enable traffic to be load-shared across aggregation group member ports based on the source and destination MAC addresses.

11

VLAN 10

Figure 4 :Network diagram for Layer 2 static aggregation

12

Configuration procedure
Configure Device A # Create VLAN 10, and assign port GigabitEthernet 4/1/4 to VLAN 10. <DeviceA> system-view [DeviceA] vlan 10 [DeviceA-vlan10] port gigabitethernet 4/1/4 [DeviceA-vlan10] quit # Create VLAN 20, and assign port GigabitEthernet 4/1/5 to VLAN 20. [DeviceA] vlan 20 [DeviceA-vlan20] port gigabitethernet 4/1/5 [DeviceA-vlan20] quit

# Create Layer 2 aggregate interface Bridge-Aggregation 1.


[DeviceA] interface bridge-aggregation 1 [DeviceA-Bridge-Aggregation1] quit # Assign ports GigabitEthernet 4/1/1 through GigabitEthernet 4/1/3 to link aggregation group 1. [DeviceA] interface gigabitethernet 4/1/1 [DeviceA-GigabitEthernet4/1/1] port link-aggregation group 1 [DeviceA-GigabitEthernet4/1/1] quit [DeviceA] interface gigabitethernet 4/1/2 [DeviceA-GigabitEthernet4/1/2] port link-aggregation group 1 [DeviceA-GigabitEthernet4/1/2] quit [DeviceA] interface gigabitethernet 4/1/3 [DeviceA-GigabitEthernet4/1/3] port link-aggregation group 1 [DeviceA-GigabitEthernet4/1/3] quit

13

Contd.
# Configure Layer 2 aggregate interface Bridge-Aggregation 1 as a trunk port and assign it to VLANs 10 and 20. [DeviceA] interface bridge-aggregation 1 [DeviceA-Bridge-Aggregation1] port link-type trunk [DeviceA-Bridge-Aggregation1] port trunk permit vlan 10 20 Please wait... Done. Configuring GigabitEthernet4/1/1... Done. Configuring GigabitEthernet4/1/2... Done. Configuring GigabitEthernet4/1/3... Done. [DeviceA-Bridge-Aggregation1] quit # Configure Device A to use the source and destination MAC addresses of packets as the global link-aggregation load sharing criteria. [DeviceA] link-aggregation load-sharing mode source-mac destination-mac

Configure Device B

Configure Device B using the same instructions that you used to configure Device A.

14

Layer 2 dynamic aggregation configuration example

15

Configuration procedure
# Create VLAN 10, and assign the port GigabitEthernet 4/1/4 to VLAN 10. <DeviceA> system-view [DeviceA] vlan 10 [DeviceA-vlan10] port gigabitethernet 4/1/4 [DeviceA-vlan10] quit # Create VLAN 20, and assign the port GigabitEthernet 4/1/5 to VLAN 20. [DeviceA] vlan 20 [DeviceA-vlan20] port gigabitethernet 4/1/5 [DeviceA-vlan20] quit # Create Layer 2 aggregate interface Bridge-Aggregation 1, and configure the link aggregation mode as dynamic. [DeviceA] interface bridge-aggregation 1 [DeviceA-Bridge-Aggregation1] link-aggregation mode dynamic # Assign ports GigabitEthernet 4/1/1 through GigabitEthernet 4/1/3 to link aggregation group 1 one at a time. [DeviceA] interface gigabitethernet 4/1/1 [DeviceA-GigabitEthernet4/1/1] port link-aggregation group 1 [DeviceA-GigabitEthernet4/1/1] quit [DeviceA] interface gigabitethernet 4/1/2 [DeviceA-GigabitEthernet4/1/2] port link-aggregation group 1 [DeviceA-GigabitEthernet4/1/2] quit [DeviceA] interface gigabitethernet 4/1/3 [DeviceA-GigabitEthernet4/1/3] port link-aggregation group 1 [DeviceA-GigabitEthernet4/1/3] quit

16

Contd.
# Configure Layer 2 aggregate interface Bridge-Aggregation 1 as a trunk port and assign it to VLANs 10 and 20. [DeviceA] interface bridge-aggregation 1 [DeviceA-Bridge-Aggregation1] port link-type trunk [DeviceA-Bridge-Aggregation1] port trunk permit vlan 10 20 Please wait... Done. Configuring GigabitEthernet4/1/1... Done. Configuring GigabitEthernet4/1/2... Done. Configuring GigabitEthernet4/1/3... Done. [DeviceA-Bridge-Aggregation1] quit # Configure the device to use the source and destination MAC addresses of packets as the global link-aggregation load sharing criteria. [DeviceA] link-aggregation load-sharing mode source-mac destination-mac

Configure Device B

Configure Device B using the same instructions that you used to configure Device A.

17

Layer 3 static aggregation configuration example


As shown in Figure 6: Device A and Device B are connected by their Layer 3 Ethernet interfaces GigabitEthernet 4/1/1 through GigabitEthernet 4/1/3.

Configure a Layer 3 static aggregation group on Device A and Device B respectively and configure IP addresses and subnet masks for the corresponding Layer 3 aggregate interfaces.
Enable traffic to be load-shared across aggregation group member ports based on source and destination IP addresses.
18

Figure 6

Configuration
Configure Device A # Create Layer 3 aggregate interface Route-Aggregation 1, and configure an IP address and subnet mask for the aggregate interface. <DeviceA> system-view [DeviceA] interface route-aggregation 1 [DeviceA-Route-Aggregation1] ip address 192.168.1.1 24 [DeviceA-Route-Aggregation1] quit # Assign Layer 3 GigabitEthernet 4/interfaces GigabitEthernet 4/1/1 through GigabitEthernet 4/1/3 to aggregation group 1. [DeviceA] interface gigabitethernet 4/1/1 [DeviceA-GigabitEthernet4/1/1] port link-aggregation group 1 [DeviceA-GigabitEthernet4/1/1] quit [DeviceA] interface gigabitethernet 4/1/2 [DeviceA-GigabitEthernet4/1/2] port link-aggregation group 1 [DeviceA-GigabitEthernet4/1/2] quit [DeviceA] interface gigabitethernet 4/1/3 [DeviceA-GigabitEthernet4/1/3] port link-aggregation group 1 [DeviceA-GigabitEthernet4/1/3] quit # Configure the global link-aggregation load sharing criteria as the source and destination IP addresses of packets. [DeviceA] link-aggregation load-sharing mode source-ip destination-ip Configure Device B Configure Device B using the same instructions that you used to configure Device A.

20

Layer 3 dynamic aggregation configuration example

21

Configuration
Configure Device A # Create Layer 3 aggregate interface Route-Aggregation 1, configure the link aggregation mode as dynamic, and configure an IP address and subnet mask for the aggregate interface. <DeviceA> system-view [DeviceA] interface route-aggregation 1 [DeviceA-Route-Aggregation1] link-aggregation mode dynamic [DeviceA-Route-Aggregation1] ip address 192.168.1.1 24 [DeviceA-Route-Aggregation1] quit # Assign Layer 3 Ethernet interfaces GigabitEthernet 4/1/1 through GigabitEthernet 4/1/3 to aggregation group 1. [DeviceA] interface gigabitethernet 4/1/1 [DeviceA-GigabitEthernet4/1/1] port link-aggregation group 1 [DeviceA-GigabitEthernet4/1/1] quit [DeviceA] interface gigabitethernet 4/1/2 [DeviceA-GigabitEthernet4/1/2] port link-aggregation group 1 [DeviceA-GigabitEthernet4/1/2] quit [DeviceA] interface gigabitethernet 4/1/3 [DeviceA-GigabitEthernet4/1/3] port link-aggregation group 1 [DeviceA-GigabitEthernet4/1/3] quit # Configure Device A to use the source and destination IP addresses of packets as the global link-aggregation load sharing criteria. [DeviceA] link-aggregation load-sharing mode source-ip destination-ip

Configure Device B

Configure Device B using the same instructions that you used to as you configure Device A.

22

23

You might also like