華為交換機堆疊配置


華為交換機配置堆疊,請大家參考。

 

 

 

 

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

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

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM