S12700两台互换堆叠ID

发布时间:  2016-11-15 浏览次数:  96 下载次数:  0
问题描述

2台S12700交换机,做CSS,堆叠完成后发现CSSID1对应备设备,ID2对应主设备,日后维护比较别扭。

告警信息

处理过程

1.查看CSS状态

dis css status 

CSS Enable switch On


Chassis Id   CSS Enable   CSS Status      CSS Mode    Priority    Master Force

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

1            On           Standby         CSS card    10          Off         

2            On           Master          CSS card    100         Off    

2.查看配置信息,并备份配置信息(由于更改ID设备端口配置信息会出现差错)

dis cu  配置略(涉密)     

3.更改设备1 CSS ID


[CORES12708]set css id 1 chassis 2 

Warning: Modifying the CSS chassis ID will cause interface configuration loss. Continue? [Y/N]:y

4.重启设备1

<CORES12708>reboot 

Info: The system is now comparing the configuration, please wait.

Info: If want to reboot with saving diagnostic information, input 'N' and then execute 'reboot save diagnostic-information'.

System will reboot! Continue?[Y/N]:y

Nov  4 2016 15:13:39 CORES12708 %%01CMD/4/REBOOT(s)[35]:The user chose Y when deciding whether to reboot the system. (Task=co0, Ip=**, VpnName=, User=**)

Warning: Begin to upgrade lpu configured with CSS ports for booting of CSS system. Please do not operate configuration.

Info: Succeeded in notifying chassis 1 to start upgrading.

Info: Chassis 2 start upgrading. Please wait for a moment...

Info: Succeeded in upgrading chassis 2.

Info: Succeeded in upgrading chassis 1.

Info: System is rebooting, please wait...

5.设备2由于设备1重启导致ID冲突从而重启后会出现CSS双主,更改设备2 CSSID

[CORES12708]set css id 2 

Warning: Modifying the CSS chassis ID will cause interface configuration loss. Continue? [Y/N]:y

6.重启设备2

<CORES12708>reboot 

Info: The system is now comparing the configuration, please wait.

Info: If want to reboot with saving diagnostic information, input 'N' and then execute 'reboot save diagnostic-information'.

System will reboot! Continue?[Y/N]:y

Nov  4 2016 15:13:39 CORES12708 %%01CMD/4/REBOOT(s)[35]:The user chose Y when deciding whether to reboot the system. (Task=co0, Ip=**, VpnName=, User=**)

Warning: Begin to upgrade lpu configured with CSS ports for booting of CSS system. Please do not operate configuration.

Info: Succeeded in notifying chassis 1 to start upgrading.

Info: Chassis 2 start upgrading. Please wait for a moment...

Info: Succeeded in upgrading chassis 2.

Info: Succeeded in upgrading chassis 1.

Info: System is rebooting, please wait...



根因

由于配置问题导致CSSID1 2和主备设备颠倒


解决方案

通过分别更改设备CSS ID 并重启设备1和设备2

[CORES12708]set css id 1 chassis 2 

Warning: Modifying the CSS chassis ID will cause interface configuration loss. Continue? [Y/N]:y

建议与总结

建议日后版本可以推出直接命令交换CSS ID的配置命令,并可以根据交换CSS ID配置通过各自的ID号,完成对应的端口配置信息,不需手动更改

END