bridge aggregation - tutorial
TRANSCRIPT
![Page 1: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/1.jpg)
1
Bridge Aggregation Tutorial
![Page 2: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/2.jpg)
2
Bridge Aggregation Overview
• Bridge Aggregation means :– Ethernet/Gigabit Ethernet link aggregation or simply link
aggregation– Combines multiple physical ethernet/gigabit ethernet
![Page 3: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/3.jpg)
3
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
![Page 4: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/4.jpg)
4
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.
![Page 5: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/5.jpg)
5
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.
![Page 6: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/6.jpg)
6
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.
![Page 7: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/7.jpg)
7
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.
![Page 8: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/8.jpg)
8
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
![Page 9: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/9.jpg)
9
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.
![Page 10: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/10.jpg)
10
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
![Page 11: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/11.jpg)
11
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.
![Page 12: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/12.jpg)
12
Figure 4 :Network diagram for Layer 2 static aggregation
•VLAN 10
![Page 13: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/13.jpg)
13
Configuration procedureConfigure 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
![Page 14: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/14.jpg)
14
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 20Please 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 globallink-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.
![Page 15: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/15.jpg)
15
Layer 2 dynamic aggregation configuration example
![Page 16: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/16.jpg)
16
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 modeas 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 oneat 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
![Page 17: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/17.jpg)
17
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 20Please 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 globallink-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.
![Page 18: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/18.jpg)
18
Layer 3 static aggregation configuration exampleAs 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.
![Page 19: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/19.jpg)
Figure 6
![Page 20: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/20.jpg)
20
Configure Device A
# Create Layer 3 aggregate interface Route-Aggregation 1, and configure an IP address and subnetmask 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/3to 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 addressesof 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.
Configuration
![Page 21: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/21.jpg)
21
Layer 3 dynamic aggregation configuration example
![Page 22: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/22.jpg)
22
Configuration
Configure Device A
# Create Layer 3 aggregate interface Route-Aggregation 1, configure the link aggregation mode asdynamic, 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 toaggregation 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 globallink-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.
![Page 23: Bridge Aggregation - Tutorial](https://reader035.vdocuments.site/reader035/viewer/2022081417/5536f5bd55034650678b4c37/html5/thumbnails/23.jpg)
23