锐捷交换机VAP配置

说明:启用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
!

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值