mlag组网
SW1:
vlan 4094
interface VLAN 4094
ip address 1.1.1.1 255.255.255.252
!
interface FortyGigabitEthernet 0/53
carrier-delay up 2 down 0
port-group 255
!
interface FortyGigabitEthernet 0/54
carrier-delay up 2 down 0
port-group 255
!
interface AggregatePort 255
switchport mode trunk
peer-link
switchport trunk allowed vlan only xx 4089
SW2:
vlan 4094
interface VLAN 4094
ip address 1.1.1.2 255.255.255.252
interface FortyGigabitEthernet 0/53
carrier-delay up 2 down 0
port-group 255
!
interface FortyGigabitEthernet 0/54
carrier-delay up 2 down 0
port-group 255
!
interface AggregatePort 255
switchport mode trunk
peer-link
switchport trunk allowed vlan only xx 4089
2)数据同步通道通过VLAN在peerlink通信,只能基于全局,不能配置VRF,VLAN推荐使用≤4090的VLAN
检测
SW1:
interface TenGigabitEthernet 0/47
port-group 254
!
interface TenGigabitEthernet 0/48
port-group 254
!
interface AggregatePort 254
vap error-down except
ip address 1.1.1.5 255.255.255.252
!
SW2:
interface TenGigabitEthernet 0/47
port-group 254
!
interface TenGigabitEthernet 0/48
port-group 254
!
interface AggregatePort 254
vap error-down except
ip address 1.1.1.6 255.255.255.252
!
1)推荐使用三层直连口作为双主检测接口
2)推荐配置三层聚合口,实现双主检测冗余,聚合口采用手工模式
3)IP地址只能在全局下配置,不能基于VRF
interface TenGigabitEthernet 0/47
no switchport
port-group 254 mode active
interface TenGigabitEthernet 0/48
no switchport
port-group 254 mode active
!
interface AggregatePort 254
description For_DAD
no switchport
ip add 1.1.1.2 255.255.255.252
vap error-down except