Mellanox mlag配置
Mellanox mlag配置 (类似cisco vpc Dell vlt)
以下类似配置mlag
protocol mlag (开启mlag协议)
lacp(开启链路聚合协议)
no spanning-tree (mlag协议要关闭生成树)
dcb priority-flow-control enable force (启动交换机的QOS避免端口拥塞)
interface ethernet 1/31-1/32 speed 40000 force (光纤卡为40G,交换机接口强制指为40G)
vlan 4000
interface vlan 4000
ip address 10.10.10.1 255.255.255.0 (用vlan4000的svi口作为心跳线)
ipl 1 peer-address 10.10.10.2 (通过映射要到vlan接口来用IPL来指定)
interface ethernet 1/31-1/32
channel-group 1 mode active
dcb priority-flow-control mode on force (在指定的接口上启动QOS避免拥塞)
interface port-channel 1
ipl 1
dcb priority-flow-control mode on force (在指定的接口上启动QOS避免拥塞)
mlag-vip RACK-s5 ip 10.10.10.254 /24 force (配置集群的虚IP)
no mlag shutdown ----不知什么意思
为主机配置mlag接口
interface ethernet 1/1-1/26 speed 40000 force (光纤卡为40G,交换机接口强制指为40G)
interface ethernet 1/1 mlag-channel-group 11 mode on
interface mlag-port-channel 11
switchport mode hybrid (创建mlag-port-channel 1 模式为二层trunk)
switchport hybrid allowed-vlan all (允许所有vlan)
no shutdown
spanning-tree port type edge
spanning-tree bpdufilter enable (disable 生成树)