如何在华为交换机上实现链路聚合

前端之家收集整理的这篇文章主要介绍了如何在华为交换机上实现链路聚合前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

实验之一:链路聚合

华为S5700交换机两台,拓扑图如下:

在A交换机做如下配置

[A]interface Eth-Trunk 0
[A-Eth-Trunk0]

将A交互垃圾需要聚合的端口加入到Eth-Trunk 0中

[A]interface g0/0/1
[A-GigabitEthernet0/0/1]e
[A-GigabitEthernet0/0/1]eth-trunk 0
Info: This operation may take a few seconds. Please wait for a moment...done.

[A]interface g0/0/2
[A-GigabitEthernet0/0/2]eth-trunk 0
Info: This operation may take a few seconds. Please wait for a moment...done.
[A-GigabitEthernet0/0/2]

[A]dis eth-trunk 0
Eth-Trunk0's state information is:
WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP
Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8
Operate status: up Number Of Up Port In Trunk: 2
--------------------------------------------------------------------------------

PortName Status Weight
GigabitEthernet0/0/1 Up 1
GigabitEthernet0/0/2 Up 1

[A]

在B交换机上进行如下配置

[B]interface Eth-Trunk 0
[B-Eth-Trunk0]quit
[B]

将B交换机需要聚合的端口加入到Eth-Trunk 0中

[B]int g0/0/1
[B-GigabitEthernet0/0/1]e
[B-GigabitEthernet0/0/1]eth-trunk 0
Info: This operation may take a few seconds. Please wait for a moment...done.
[B-GigabitEthernet0/0/1]


[B-GigabitEthernet0/0/2]eth-trunk 0
Info: This operation may take a few seconds. Please wait for a moment...done.
[B-GigabitEthernet0/0/2]

[B]dis eth-trunk 0
Eth-Trunk0's state information is:
WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP
Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8
Operate status: up Number Of Up Port In Trunk: 2
--------------------------------------------------------------------------------

PortName Status Weight
GigabitEthernet0/0/1 Up 1
GigabitEthernet0/0/2 Up 1

[B]

以上就是配置链路聚合的简单步骤,希望对大家有用!!shxke希望大家多多交流我网络方面的知识!!

猜你在找的设计模式相关文章