说明:启用VAP需关闭生成树,no spanning-tree
# 锐捷VAP配置,注意根据实际情况调整端口编号和端口类型
VAP主 #配置数据同步地址 vlan 4094 description For_VAP name vap ! interface vlan 4094 description For_VAP ip add 169.255.255.1 255.255.255.252 #DATA-SYN 地址 ! #配置peer-link接口 interface AggregatePort 255 description For_peerlink no mac-address-learning switchport mode trunk peer-link ! interface FortyGigabitEthernet 0/53 carrier-delay up 2 down 0 port-group 255 mode active ! interface FortyGigabitEthernet 0/54 carrier-delay up 2 down 0 port-group 255 mode active ! #配置keepalive接口 int agg 254 description For_DAD no switchport ip add 169.255.255.5 255.255.255.252 #keepalive 地址 vap error-down except ! interface TenGigabitEthernet 0/47 no switchport port-group 254 ! interface TenGigabitEthernet 0/48 no switchport port-group 254 ! #配置VAP vap domain 1 priority 7 #配置成员优先级 dual-active auto recovery #配置VAP自动恢复(确保VAP检测为直连才能配置VAP自动恢复) recover up-delay 120 none-vap 60 #配置VAP恢复等待时间 data-sync local 169.255.255.1 peer 169.255.255.2 #配置数据同步 peer-keepalive local 169.255.255.5 peer 169.255.255.6 #配置keepalive心跳 no fast-convergence #关闭快速收敛 !
VAP备 #配置数据同步地址 vlan 4094 description For_VAP name vap ! interface vlan 4094 description For_VAP ip add 169.255.255.2 255.255.255.252 #DATA-SYN 地址 ! #配置peer-link接口 interface AggregatePort 255 description For_peerlink no mac-address-learning switchport mode trunk peer-link ! interface FortyGigabitEthernet 0/53 port-group 255 mode active ! interface FortyGigabitEthernet 0/54 port-group 255 mode active ! #配置keepalive接口 int agg 254 description For_DAD no switchport ip add 169.255.255.6 255.255.255.252 vap error-down except ! interface TenGigabitEthernet 0/47 no switchport port-group 254 mode active ! interface TenGigabitEthernet 0/48 no switchport port-group 254 mode active ! #配置VAP vap domain 1 priority 5 dual-active auto recovery recover up-delay 120 none-vap 60 data-sync local 169.255.255.2 peer 169.255.255.1 peer-keepalive local 169.255.255.6 peer 169.255.255.5 no fast-convergence !
VAP业务口配置
interface TenGigabitEthernet 1/1 carrier-delay up 2 down 0 port-group 1 mode active link state group 1 downstream #配置链路跟踪为下行口,所有下行接口均归属组1 ! interface TenGigabitEthernet 1/2 carrier-delay up 2 down 0 port-group 1 mode active link state group 1 downstream ! interface AggregatePort 1 switchport mode trunk switchport trunk allowed vlan only xxxx vap 1 !
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/207506.html原文链接:https://javaforall.net
