S5130-28S-SI
S5130-52S-SI
同版本,不同型号
(端口均使用万兆光模块)
设备 | 端口 | 端口 | 设备2 |
---|---|---|---|
S5130-28S-SI | 25 | 52 | S5130-52S-SI |
S5130-28S-SI | 26 | 51 | S5130-52S-SI |
#优先级修改为32(最高,默认1)成为主设备
<H3C> system-view
[H3C] irf member 2 priority 32
[H3C-if-range] quit
<H3C> system-view
[H3C] interface range ten-gigabitethernet 1/0/25 to ten-gigabitethernet 1/0/26
[H3C-if-range] shutdown
[H3C-if-range] quit
#绑定物理端口和irf端口
[H3C] irf-port 1/1
[H3C-irf-port1/1] port group interface ten-gigabitethernet 1/0/25
[H3C-irf-port1/1] quit
[H3C] irf-port 1/2
[H3C-irf-port1/1] port group interface ten-gigabitethernet 1/0/26
[H3C-irf-port1/2] quit
[H3C] interface range ten-gigabitethernet 1/0/25 to ten-gigabitethernet 1/0/26
[H3C-if-range] undo shutdown
[H3C-if-range] quit
[H3C] save
#激活irf配置(如果没有保存以上配置就激活,配置将会失败,交换机一直重启
[H3C] irf-port-configuration active
<H3C> system-view
[H3C] irf member 1 renumber 2
[H3C] irf member 2 priority 1
Renumbering the member ID may result in configuration change or loss. Continue? [Y/N]:y
[H3C] quit
<H3C> reboot
<H3C> system-view
[H3C] interface range ten-gigabitethernet 1/0/51 to ten-gigabitethernet 1/0/52
[H3C-if-range] shutdown
[H3C-if-range] quit
#绑定物理端口和irf端口
[H3C] irf-port 2/1
[H3C-irf-port2/1] port group interface ten-gigabitethernet 2/0/51
[H3C-irf-port2/1] quit
[H3C] irf-port 2/2
[H3C-irf-port2/1] port group interface ten-gigabitethernet 2/0/52
[H3C-irf-port2/2] quit
[H3C] interface range ten-gigabitethernet 1/0/25 to ten-gigabitethernet 1/0/26
[H3C-if-range] undo shutdown
[H3C-if-range] quit
[H3C] save
[H3C] irf-port-configuration active
#重启之后irf堆叠就建立起来了
[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/1
[H3C-gigabitethernet-1/0/1] undo stp enable
[H3C-gigabitethernet-1/0/1] quit
[H3C] interface gigabitethernet 2/0/1
[H3C-gigabitethernet-2/0/1] undo stp enable
[H3C-gigabitethernet-2/0/1] quit
主要在irf端口对应物理端口再对应到对端的物理端口和irf端口时不要搞错了,否则irf起不来
还有需要万兆的光模块
原文:http://blog.51cto.com/laizetian/2162203