华为交换机配置堆叠,请大家参考。

 

 

 

 

——————————————————————————————————————————————————————————————

S5720s-12TP-LI-AC Istack 堆叠配置
Leaf1 实施 先关闭物理接口
[Leaf1]int g 0/0/11
[Leaf1-GigabitEthernet0/0/11]shutdown
[Leaf1]int g 0/0/12
[Leaf1-GigabitEthernet0/0/12]shutdown
[Leaf1]interface stack-port 0/1 创建堆叠口
[Leaf1-stack-port0/1]port interface g 0/0/11 enable 物理接口 11 加入堆叠组
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...启用堆叠技术后所有配置丢失,
继续吗?
[Leaf1-stack-port0/1]port interface g 0/0/12 enable 物理接口 12 加入堆叠组
[Leaf1]stack slot 0 priority 255 修改优先级 255, 默认 100
Warning: Do not frequently modify the priority because it will make the stack split. Continue?
[Y/N]:y
<Leaf1>save 保存

stack enable
stack slot 0 renumber 0
stack slot 0 priority 255
stack reserved-vlan 4093
stack timer mac-address switch-delay 10
interface stack-port 0/1 堆叠口业务加入物理接口 11/12
port interface GigabitEthernet0/0/11 enable
port interface GigabitEthernet0/0/12 enable
—————Configuration on slot 0 End—————–

Leaf2 实施 先关闭物理接口
[Lefa2-GigabitEthernet0/0/1]int g 0/0/11
[Lefa2-GigabitEthernet0/0/11]shutdown
[Lefa2-GigabitEthernet0/0/11]int g 0/0/12
[Lefa2-GigabitEthernet0/0/12]shutdown
[Lefa2]interface stack-port 0/2 leaf2 交换机创建堆叠业务口 重点否则堆叠起不来
[Lefa2-stack-port0/2]port interface GigabitEthernet 0/0/11 enable
[Lefa2-stack-port0/2]port interface GigabitEthernet 0/0/12 enable
[Lefa2]dis stack configuration 此时查看堆叠业务默认配置, 需要调整成员 renumber 0
1
—————Configuration on slot 0 Begin—————
* : Invalid-configuration
stack enable
stack slot 0 renumber 0
stack slot 0 priority 100
stack reserved-vlan 4093
stack timer mac-address switch-delay 10
[Lefa2]stack slot 0 renumber 1 修改成员 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.
<Lefa2>save
<Lefa2>dis stack
Stack mode: Service-port
Stack topology type: Link
Stack system MAC: 80b5-755a-3482
MAC switch delay time: 10 min
Stack reserved VLAN: 4093
Slot of the active management port: —

 

 

<Lefa2>dis stack configuration
—————Configuration on slot 0 Begin—————
* : Invalid-configuration
stack enable
stack slot 0 renumber 1
stack slot 0 priority 100
stack reserved-vlan 4093
stack timer mac-address switch-delay 10
interface stack-port 0/1
interface stack-port 0/2
port interface GigabitEthernet0/0/11 enable
port interface GigabitEthernet0/0/12 enable
—————Configuration on slot 0 End—————–
—————Configuration on slot 1 Begin—————
* : Invalid-configuration
stack enable
stack slot 0 renumber 1
stack slot 1 priority 255
stack reserved-vlan 4093
stack timer mac-address switch-delay 10
interface stack-port 1/1
port interface GigabitEthernet1/0/11 enable
port interface GigabitEthernet1/0/12 enable
interface stack-port 1/2
—————Configuration on slot 1 End—————–
拆除堆叠业务
[Lefa2]int stack-port 0/2 进入堆叠组

Info: This operation may take a few seconds. Please wait…succeeded.

[Lefa2-stack-port0/2]undo port interface GigabitEthernet 0/0/11 enable
[Lefa2-stack-port0/2]undo port interface GigabitEthernet 0/0/12 enable
Warning: Deleting member ports may cause stack split and a loss of all configurations on the
interface. Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait…… 将成员接口退出堆叠口, 然后恢
复业务口

堆叠组 0/2 已退出物理接口

leaf1 交换机 renumber 成员 1 修改 0
leaf1 交换机 priority 255 默认 100
堆叠组业务 1/1 关闭物理接口 11/12 Undo 删除

需要从新启动下设备, 才能恢复到默认成员 0

 

 

 

 

版权声明:本文为jingjiaming原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/jingjiaming/p/14541930.html