我们已经准备好了,你呢?

2022我们与您携手共赢,为您的企业网络安全保驾护航!

1、主配置
Ruijie_1(config)#switch virtual domain 102
Ruijie_1(config-vs-domain)#switch 1
Ruijie_1(config-vs-domain)#switch 1 priority 200    #优先级高的为主
Ruijie_1(config-vs-domain)#switch 1 description Sw1
Ruijie_1(config)#vsl-port
Ruijie_1(config-vsl-port)#port-member interface HundredGigabitEthernet 0/51
Ruijie_1(config-vsl-port)#port-member interface HundredGigabitEthernet 0/52
Ruijie_1#wr     #必需先保存配置再转换模式
Ruijie_1#switch convert mode virtual     #转换模式后设备自动重启

2、备配置
Ruijie_2(config)#switch virtual domain 102
Ruijie_2(config-vs-domain)#switch 2 priority 100    #不能先配置优先级,需先更改switch ID
% Failed to configure device priority for the reason current configured switch is 1.
Ruijie_2(config-vs-domain)#switch 2
Ruijie_2(config-vs-domain)#switch 2 priority 100
Ruijie_2(config-vs-domain)#switch 2 description Sw2
Ruijie_2(config)#vsl-port
Ruijie_2(config-vsl-port)#port-member interface HundredGigabitEthernet 0/51
Ruijie_2(config-vsl-port)#port-member interface HundredGigabitEthernet 0/52
Ruijie_2#wr    #必需先保存配置再转换模式  
Ruijie_2#switch convert mode virtual     #转换模式后设备自动重启

3、堆叠优化配置,bfd检测、聚合端口检测二选一
Ruijie(config)#switch virtual domain 102
Ruijie(config-vs-domain)#dual-active detection bfd
Ruijie(config-vs-domain)#dual-active bfd interface mgmt 1/0
Ruijie(config-vs-domain)#dual-active detection aggregateport
Ruijie(config-vs-domain)#dual-active interface aggregatePort 1 
Ruijie(config-vs-domain)#switch cfg_mode single
Ruijie(config-vs-domain)#dual-active auto-recovery enable

4、堆叠状态检查
Ruijie#show switch virtual config    #查看堆叠配置
Ruijie#show switch virtual role
Ruijie(config)#redundancy forceswitch    #锐捷主备切换
Ruijie#show switch virtual link

Ruijie#show switch virtual

配置示例

switch virtual domain 100
 devid:1 sn:xxxxxxxxxx
 switch 1 priority 200
 switch 1 description sw1
 devid:2 sn:xxxxxxxxxx
 switch 2 priority 100
 switch 2 description sw2
 switch convert mode virtual
 switch cfg_mode single
 dual-active detection bfd
 dual-active bfd interface Mgmt 1/0
 dual-active bfd interface Mgmt 2/0
 dual-active auto-recovery enable
!
vsl-port
 port-member interface FortyGigabitEthernet 1/0/53
 port-member interface FortyGigabitEthernet 1/0/54
 port-member interface FortyGigabitEthernet 2/0/53
 port-member interface FortyGigabitEthernet 2/0/54

1、VSU基本配置

    

1、对主备核心交换机进行初始配置     

    

核心交换机1:    

   

Switch1>en

Switch1# configure terminal

Switch1# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Switch1(config)# switch virtual domain 1

Switch1(config-vs-domain)# switch 1     

Switch1(config-vs-domain)#switch 1 priority 200    ------>默认优先级为100,配置为较高的优先级,VSU建立成功后将会成为管理主机。

Switch1(config-vs-domain)# exit

Switch1(config)#vsl-port       ------>VSL链路至少需要2条,一条链路可靠性较低,当出现链路震荡时,VSU会非常不稳定。     

Switch1(config-vsl-port)# port-member interface TenGigabitEthernet 2/1           ------>配置VSL链路    

Switch1(config-vsl-port)# port-member interface TenGigabitEthernet 2/2

Switch1(config-vsl-port)# exit

   

   

核心交换机2:    

   

Switch2# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.    

Switch2(config)# switch virtual domain 1  ------>domaind id 必须和第一台一致     

Switch2(config-vs-domain)#switch 2    ------>第二台设备必须更改ID为2

Switch2(config-vs-domain)#switch 2 priority 150    

Switch2(config-vs-domain)# exit

Switch2(config)#vsl-port            ------>VSL链路至少需要2条,一条链路可靠性较低,当出现链路震荡时,VSU会非常不稳定。     

Switch2(config-vsl-port)# port-member interface TenGigabitEthernet 2/1        ------>配置VSL链路    

Switch2(config-vsl-port)# port-member interface TenGigabitEthernet 2/2

Switch2(config-vsl-port)# exit    

   

2、连接好VSL链路,并确定接口已经UP     

    

3、保存两台设备的配置,并一起切换为VSU模式    

   

核心交换机1    

Switch1# wr

Switch1# switch convert mode virtual         ------>转换为VSU模式     

Convert mode will backup and delete config file, and reload the switch. Are you sure to continue[yes/no]:yes    

Do you want to recover config file from backup file in virtual mode (press 'ctrl + c' to cancel) [yes/no]no

no表示清空重配,     

   

核心交换机2    

Switch2# wr    

Switch2# switch convert mode virtual  ------>转换为VSU模式     

Are you sure to convert switch to virtual mode[yes/no]:yes    

Do you want to recover config file from backup file in virtual mode (press 'ctrl + c' to cancel) [yes/no]:no    

   

选择转换模式后,设备会重启启动,并组建VSU。

   

   

4、确认VSU建立成功     

    

1.VSU的管理需要在其中的主机上进行     

2. VSU主机的引擎Primary灯绿色常亮,VSU从机的Primary灯灭,可以用来判断主从机关系( 设备优先级提前有指定,高优先级的设备会成为主机)

3. VSU组建后从机Console口默认不能进行管理,可执行EscEscEscEscC(即4次Esc键加C键)打开输出开关,建议使用session device 2 slot (m1,m2 ,线卡槽位)登录其它设备查看信息。

   

Ruijie# show switch virtual role  检查主备是否符合预期

Switch_id     Domain_id     Priority     Position     Status     Role              Description                         

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

1(1)         100(100)     200(200)    LOCAL       OK        ACTIVE          switch-1    ------>ACTIVE表示主机箱                             

2(2)         100(100)     150(150)    REMOTE    OK        STANDBY       switch-2     ------>STANDBY表示从机箱                    

   

Ruijie# show ver slots  检查是否已经识别到了主从机的所有线卡(说明以下结果仅为示例)

Dev   Slot  Port Configured Module                 Online Module               Software Status

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

  1       1    0       none                                        none                                      none              

  1       2    0       none                                        none                                      none              

  1       3    8       M18000-08XS-ED                   M18000-08XS-ED                  ok                

  1       4    0       none                                        none                                      none              

  1       5    48      M18000-24GT20SFP4XS-ED  M18000-24GT20SFP4XS-ED  ok                

  1       6    0       none                                        none                                     none              

  1       7    7       RG-WALL 1600-B-ED              RG-WALL 1600-B-ED             ok                

  1       8    0       none                                         none                                     none              

  1     FE1  0        N/A                                         M18010-FE-D I                     ok                

  1     FE2  0        N/A                                         M18010-FE-D I                      ok                

  1     FE3  0        N/A                                         none                                     none              

  1     FE4  0        N/A                                         none                                     none              

  1    M1   0        N/A                                         M18010-CMII                       master            

  1    M2   0        N/A                                         none                                      none              

  2      1    0       none                                        none                                      none              

  2      2    0       none                                        none                                      none              

  2      3    8       M18000-08XS-ED                   M18000-08XS-ED                 ok                

  2      4    0       none                                       none                                      none              

  2      5    48      M18000-24GT20SFP4XS-ED   M18000-24GT20SFP4XS-ED   ok                

  2      6    0       none                                       none                                      none              

  2      7    7       RG-WALL 1600-B-ED              RG-WALL 1600-B-ED             ok                

  2      8    0       none                                      none                                      none              

  2     FE1  0       N/A                                       none                                        none              

  2     FE2  0       N/A                                       M18010-FE-D I                       ok                

  2     FE3  0       N/A                                       none                                      none              

  2     FE4  0       N/A                                       none                                      none              

  2    M1   0       N/A                                       none                                      none              

  2    M2   0       N/A                                       M18010-CMII                        backup         


我们凭借多年的智能化设计及施工经验,坚持以“帮助中小企业实现现代化网络”为宗旨,累计为4000多家客户提供品质智能化服务,得到了客户的一致好评。如果您有综合布线、计算机网络、无线覆盖、门禁考勤、机房建设、防火墙、路由器及交换机调试等方面的需求...
请立即点击咨询我们或拨打咨询热线: 17804441181,我们会详细为你一一解答你心中的疑难。项目经理在线

我们已经准备好了,你呢?

2022我们与您携手共赢,为您的企业网络安全保驾护航!

在线客服
联系方式

热线电话

17804441181

上班时间

周一到周五

公司电话

+86-512-65829193

二维码
微信
线