您好,登錄后才能下訂單哦!
1、先規劃好需要做堆疊的端口與準備好堆疊線纜,堆疊口一般都是光口,看設備的情況而定。
2、將設備上電,并且使用堆疊線纜連接需要做堆疊設備與端口。
3、使用console線連接設備的console口開始配置。
4、配置如下:
①配置交換機的成員編號一般主的就是1,備的是2
主:
<H3C>sys
[H3C]irf member 1 renumber 1 選擇YES直接回車
[H3C]quit
備:
<H3C>sys
[H3C]irf member 1 renumber 2 選擇YES直接回車
[H3C]quit
重啟備設備
②配置交換機的成員優先級
主:
<H3C>sys
[H3C]irf member 1 priority 30
[H3C]quit
備:
<H3C>sys
[H3C]irf member 1 priority 15
[H3C]quit
③配置irf端口,進入所需要配置堆疊的物理端口關閉端口
主:
<H3C>sys
[H3C]int range Ten-GigabitEthernet 1/0/49 Ten-GigabitEthernet 1/0/50
[H3C-if-range]shutdown
[H3C-if-range]quit
[H3C]irf-port 1/1
[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/49
[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/50
[H3C-irf-port1/1]quit
[H3C]int range Ten-GigabitEthernet 1/0/49 Ten-GigabitEthernet 1/0/50
[H3C-if-range]undo shutdown
[H3C-if-range]quit
[H3C]save
[H3C] irf-port-configuration active
備:
<H3C>sys
[H3C]int range Ten-GigabitEthernet 2/0/49 Ten-GigabitEthernet 2/0/50
[H3C-if-range]shutdown
[H3C-if-range]quit
[H3C]irf-port 1/1
[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 2/0/49
[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 2/0/50
[H3C-irf-port1/1]quit
[H3C]int range Ten-GigabitEthernet 2/0/49 Ten-GigabitEthernet 2/0/50
[H3C-if-range]undo shutdown
[H3C-if-range]quit
[H3C]save
[H3C] irf-port-configuration active
注:配置完成之后會開始競選master,競選完成之后slave會自動重啟,
使用dis irf 查看堆疊情況
④配置bfd檢測堆疊
配置BFD MAC
[H3C] vlan 3
[H3C-vlan3] port ten-gigabitethernet 1/0/24 ten-gigabitethernet 2/0/24
[H3C-vlan3] quit
[H3C] interface vlan-interface 3
[H3C-Vlan-interface3] mad bfd enable
[H3C-Vlan-interface3] mad ip address 192.168.2.1 24 member 1
[H3C-Vlan-interface3] mad ip address 192.168.2.2 24 member 2
[H3C-Vlan-interface3] quit
#BFD和stp互斥,關閉stp
[H3C] interface gigabitethernet 1/0/24
[H3C-gigabitethernet-1/0/1] undo stp enable
[H3C-gigabitethernet-1/0/1] quit
[H3C] interface gigabitethernet 2/0/24
[H3C-gigabitethernet-2/0/1] undo stp enable
[H3C-gigabitethernet-2/0/1] quit
網絡拓撲:
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。