Wednesday, January 10, 2024

华为和思科交换机光口链路聚合

交换机型号:
华为 S5720S-28P-LI-AC —— 接入层,光口G0/0/27,G0/0/27
思科 WS-C3750G-12S —— 汇聚层,光口G1/0/11,G1/0/12

华为交换机配置:

lacp priority 100
#
interface Eth-Trunk1
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
 mode lacp
 max active-linknumber 2
#
interface GigabitEthernet0/0/27
 eth-trunk 1
#
interface GigabitEthernet0/0/28
 eth-trunk 1

思科交换机配置:
interface Port-channel6
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet1/0/11
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-protocol lacp
 channel-group 6 mode passive
!
interface GigabitEthernet1/0/12
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-protocol lacp
 channel-group 6 mode passive

注:华为交换机为LACP主动模式(LACP优先级为100),思科交换机为LACP被动模式


参考:

https://blog.51cto.com/wangchunhai/1957696

https://support.huawei.com/enterprise/zh/doc/EDOC1000113970/6985bcbc 

https://blog.csdn.net/qq_52655865/article/details/130912899


No comments:

Post a Comment

把多个png文件转换成支持多个分辨率的ico文件

工具:ImageMagick 命令:magick convert -background transparent sample*.png sample.ico