迈普交换机 vst 配置步骤

将多台物理交换机组合成一台虚拟交换机的技术,即Virtual Switching Technology(虚拟交换技术),简称VST

在Device1上配置虚拟交换成员设备编号为1,并配置域编号为10,优先级为200
conf t
switch virtual member 1
y
domain 10
priority 200
exit

在Device1上创建虚拟交换链路接口1,并将端口tengigabitethernet1/1-1/2加入虚拟交换链路接口1
vsl-channel 1 
exit
interface fortygigabitethernet 0/1-0/2
vsl-channel 1 mode on
exit
exit
write
y
配置Device1运行模式为堆叠模式
switch mode virtual
y
重启


在Device2上配置虚拟交换成员设备编号为2,并配置域编号为10,优先级为100
conf t
switch virtual member 2
y
domain 10
priority 100
exit

在Device2上创建虚拟交换链路接口1,并将端口tengigabitethernet1/1-1/2加入虚拟交换链路接口1
vsl-channel 1
exit
interface tengigabitethernet 1/1-1/2
vsl-channel 1 mode on
exit
exit
write
y
配置Device1运行模式为堆叠模式
switch mode virtual
y
重启


在Device1, Device2上配置心跳vlan2
conf t
mad fast-hello normal interval 2000  // MAD Fast-Hello报文发送周期为2000毫秒
mad fast-hello aggressive interval 500  //配置激进模式下的MAD Fast-Hello报文发送周期为500毫秒
mad fast-hello aggressive duration 120  //配置激进模式持续时间为120秒
 
配置VLAN2为MAD Fast-Hello的控制VLAN
vlan 2
name mad fast-hello
mad fast-hello control-vlan
exit
配置Trunk端口gigabitethernet0/0/24,1/0/24加入MAD Fast-Hello的控制VLAN2
interface gigabitethernet0/0/24,1/0/24
description 心跳线
switchport mode trunk
switchport trunk allowed vlan add 2
no spanning-tree enable
mad fast-hello vlan 2
exi
将MAD状态从Recovery状态恢复为Active状态
mad restore


在Device1上查看,已经形成环形堆叠系统,且Device1为主控设备
show switch virtual 

Codes: L - local-device,I - isolate-device


Virtual Switch Mode        : VIRTUAL

Virtual Switch DomainId    : 10

Virtual Switch mac-address : 0001.7a6a.02b8


--------------- VST MEMBER INFORMATION ------------------

CODE MemberID Role   Pri  LocalVsl        RemoteVsl       

---- -------- ------ ---- --------------- --------------- 

L    1        Member 200  vsl-channel 1/1 vsl-channel 0/1 

     2        Member 100  vsl-channel 1/1 vsl-channel 0/1 

  • 4
    点赞
  • 21
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值