Double your bandwidth to a halt! Teach you to get Eth-Trunk link aggregation
Good evening, my friends!
Let's talk about link aggregation today (Eth-Trunk) 。In the enterprise network, we sometimes want to increase the bandwidth of the link, enhance the reliability of the link, that single link may not be enough.At this time, we can use Eth-Trunk technology to bundle multiple physical links into a logical link to improve network performance and stability.
For more information, please scan the WhatsApp QR code below to contact customer service.
01 What is Eth-Trunk?
Eth-Trunk is also called link aggregation. In simple terms, it is the "packaging" of multiple physical links into a virtual link. The device will balance the data flow among these links to achieve the effect of load balancing. If one of the links fails, the traffic can also be automatically switched to other normal links to ensure that the business is not disrupted.
02 Eth-Trunk Configuration
Suppose we have two switches, SW1 and SW2, with two physical links at 1 Gbps, and we want to bundle them into a logical link at 2 Gbps.
Step 1 : Create the Eth-Trunk interface
On both SW1 and SW2, you need to create an Eth-Trunk interface.
Step 2 : Add the physical interface to the Eth-Trunk group
We want to add two physical interfaces to the Eth-Trunk group, such as G0 / 0 / 1 and G0 / 0 / 2.
The same is done on SW2.
03 Verify whether link aggregation is effective
We can use the following command to see the status of Eth-Trunk:
If you see that both physical links are active, link aggregation is in effect.
04 Load balancing strategy
By default, Eth-Trunk uses a hash algorithm to determine which link the traffic goes, such as based on the source MAC address, destination MAC address, source IP, destination IP, etc. We can modify the negative load balancing strategy, such as sharing traffic based on source and destination IP:
05 Troubleshooting
If the link is still unable to communicate between devices after the link is aggregated, you can check with the following command:
Common Problems and Solutions:
1.LACP mode mismatch: Both ends need to be configured with LACP , or both ends need to be configured with manual mode ( manual ) .
2 . Interface is not enabled : check display interface brief to confirm that the interface is up .
3 . Physical Link Abnormalities : Use display counters error to see if there are any physical error packets .
06 summary
Eth-Trunk is an effective means to improve bandwidth and link reliability, and is widely used in enterprise network. As long as you master configuration methods and basic barrier clearance techniques, you can better operate the network.
That's all for today's sharing. If you want to get more information about Internet, remember to pay attention to my Official Account message template "Internet engineer training camp"!