说明:
此次堆叠使用40G专用线缆进行堆叠(Stack)
使用的堆叠口为40G0/0/5与40G0/0/6
两台交换机型号为S6730-H48X6C
步骤
主交换机
[SwitchA]stack slot 0 priority 200
Warning: Do not frequently modify the priority because it will make the stack split. Continue? [Y/N]:y...
[SwitchA]int stack-port 0/1
[SwitchA-stack-port0/1]port interface 40GE 0/0/5 40GE 0/0/6 enable
备交换机
[switchB]interface st
[switchB]interface stack-port 0/2
[switchB-stack-port0/2]por
[switchB-stack-port0/2]port int
[switchB-stack-port0/2]port interface 40
[switchB-stack-port0/2]port interface 40GE 0/0/5 4
[switchB-stack-port0/2]port interface 40GE 0/0/5 40GE 0/0/6 en
[switchB-stack-port0/2]port interface 40GE 0/0/5 40GE 0/0/6 enable
Warning: Enabling stack function may cause configuration loss on the interface. Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait....
Aug 22 2023 06:56:53 switchB %%01IFNET/4/IF_DISABLE(l)[0]:Interface 40GE0/0/5 has been unavailable.
Aug 22 2023 06:56:53 switchB %%01IFNET/4/IF_ENABLE(l)[1]:Interface 40GE0/0/5 has been available.
Aug 22 2023 06:56:53 switchB %%01IFNET/4/IF_DISABLE(l)[2]:Interface 40GE0/0/6 has been unavailable...
[switchB-stack-port0/2]
Aug 22 2023 06:56:55 switchB %%01IFNET/4/IF_ENABLE(l)[3]:Interface 40GE0/0/6 has been available.
[switchB-stack-port0/2]stac
[switchB-stack-port0/2]stack slo
[switchB-stack-port0/2]stack slo
[switchB-stack-port0/2]qu
[switchB]sta
[switchB]stack sk
[switchB]stack sl
[switchB]stack slot 0 rn
[switchB]stack slot 0 re
[switchB]stack slot 0 renumber 1
Warning: All the configurations related to the slot ID will be lost after the slot ID is modified.
Do not frequently modify the slot ID because it will make the stack split. Continue? [Y/N]:y...
Info: Stack configuration has been changed, and the device needs to restart to make the configuration effective.
插上堆叠光缆分别在交换机AB的5口与6口
等待重启。。。。。
如果这里设备长时间不重启,或者重启后主备优先级有问题(比如A设备优先级200,应该选为主,B交换机优先级为100,应该选为B,结果其中一台设备重启后,优先级为200的A设备被选为备设备的情况下),建议两台设备再次重启,先重启主设备,在重启B设备。