admin管理员组

文章数量:1534206

2024年4月5日发(作者:)

1、VSU基本配置

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

核心交换机1:

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 1 ------>VSL链路至少需要2条,一条链路可

靠性较低,当出现链路震荡时,VSU会非常不稳定。

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

------>配置VSL链路

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

Switch1(config-vsl-ap-1)# 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 1 ------>VSL链路至少需要2条,一条链路可靠性较低,

当出现链路震荡时,VSU会非常不稳定。

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

------>配置VSL链路

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

Switch2(config-vsl-ap-1)# 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 standalone 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建立成功

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

2. VSU主机的引擎Primary灯绿色常亮,VSU从机的Primary灯灭,可以用来判断

本文标签: 链路配置交换机核心设备