华为交换机堆叠配置和注意的点
交換機(jī)堆疊的主要作用,第一為網(wǎng)絡(luò)做一個(gè)冗余的作用,交換機(jī)性能在原理的基礎(chǔ)上提升了一倍。
?華為一臺(tái)交換機(jī)有兩個(gè)堆疊口,默認(rèn)是0/1? 0/2? ? 這個(gè)0代表的就是我們端口的第一個(gè)序列號(hào)0/0/1? 0/0/2 . 如果要鏈接另外一臺(tái)交換機(jī) 前面的0 要改成1,這樣才能區(qū)分出來(lái)堆疊后端口區(qū)分。這里的0和1就是堆疊口里面的堆疊成員ID? 這個(gè)很重要 不然堆疊失敗。
我第一次沒(méi)改堆疊ID配置了堆疊口鏈接線(xiàn)后提升沖突了
交換機(jī)一直跳這個(gè),?
邏輯堆疊端口是專(zhuān)用于堆疊的邏輯端口,需要和物理成員端口綁定。堆疊的每臺(tái)成員交換機(jī)上支持兩個(gè)邏輯堆疊端口,分別為stack-port n/1和stack-port n/2,其中n為成員交換機(jī)的堆疊ID。
注意的點(diǎn):本設(shè)備的stack-port 0/1必須鏈接鄰設(shè)備的stack-port 1/2,不然堆疊組建不成功。
SWA配置web
# 更名 [Huawei]sysname SWA# 最好先shutdown接口 [SWA]interface GigabitEthernet 0/0/23 [SWA-GigabitEthernet0/0/23]shutdown [SWA-GigabitEthernet0/0/23]interface GigabitEthernet 0/0/24 [SWA-GigabitEthernet0/0/24]shutdown [SWA-GigabitEthernet0/0/24]quit# SWA默認(rèn)number0 [SWA]interface stack-port 0/1 [SWA-stack-port0/1]port interface GigabitEthernet 0/0/23 enable [SWA-stack-port0/1]quit [SWA]interface stack-port 0/2 [SWA-stack-port0/2]port interface GigabitEthernet 0/0/24 enable [SWA-stack-port0/2]quit# 開(kāi)啟23和24接口,保存配置 [SWA]interface GigabitEthernet 0/0/23 [SWA-GigabitEthernet0/0/23]undo shutdown [SWA-GigabitEthernet0/0/23]interface GigabitEthernet 0/0/24 [SWA-GigabitEthernet0/0/24]undo shutdown [SWA-GigabitEthernet0/0/24]quit [SWA]quit <SWA>save The current configuration will be written to the device. Are you sure to continue?[Y/N]y Info: Please input the file name ( *.cfg, *.zip ) [vrpcfg.zip]: Now saving the current configuration to the slot 0. Save the configuration successfully.SWB配置svg
# 更名 [Huawei]sysname SWB# 關(guān)閉接口 [SWB]interface GigabitEthernet 0/0/23 [SWB-GigabitEthernet0/0/23]shutdown [SWB-GigabitEthernet0/0/23]interface GigabitEthernet 0/0/24 [SWB-GigabitEthernet0/0/24]shutdown [SWB-GigabitEthernet0/0/24]quit# 修改為員號(hào) [SWB]stack slot 0 renumber 1# 默認(rèn)100,華為是1-255,值越大優(yōu)先級(jí)越高會(huì)被推舉為Master [SWB]stack slot 0 priority 10 [SWB]interface stack-port 1/1 [SWB-stack-port0/1]port interface GigabitEthernet 1/0/23 enable [SWB-stack-port0/1]quit [SWB]interface stack-port 1/2 [SWB-stack-port0/2]port interface GigabitEthernet 1/0/24 enable [SWB-stack-port0/2]quit# 開(kāi)啟23和24接口,保存配置 [SWB]interface GigabitEthernet 1/0/23 [SWB-GigabitEthernet0/0/23]undo shutdown [SWB-GigabitEthernet0/0/23]interface GigabitEthernet 1/0/24 [SWB-GigabitEthernet0/0/24]undo shutdown [SWB-GigabitEthernet0/0/24]quit [SWB]quit <SWB>sava The current configuration will be written to the device. Are you sure to continue?[Y/N]y Info: Please input the file name ( *.cfg, *.zip ) [vrpcfg.zip]: Now saving the current configuration to the slot 0. Save the configuration successfully.最后重啟兩臺(tái)交換機(jī)
正常狀況下就配置好了,重啟后可查看在一臺(tái)交換機(jī)上接口數(shù)量是否增長(zhǎng)一倍測(cè)試
?
總結(jié)
以上是生活随笔為你收集整理的华为交换机堆叠配置和注意的点的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 天龙八部服务端数据传递
- 下一篇: 反物质之谜断想