S7506X-A
<H3C>
system-view
[H3C]
irf member 1
[H3C]
irf priority 32
[H3C]
irf-port 2
[H3C-irf-port2]
port group interface ten-gigabitethernet 1/0/47
[H3C-irf-port2]
port group interface ten-gigabitethernet 1/0/48
[H3C-irf-port2]
quit
ps:要保证47和48两个接口是启用状态。
[H3C]
save
[H3C]
chassis convert mode irf
S7506X-B
<H3C>
system-view
[H3C]
irf member 2
[H3C]
irf-port 1
[H3C-irf-port2]
port group interface ten-gigabitethernet 1/0/47
[H3C-irf-port2]
port group interface ten-gigabitethernet 1/0/48
[H3C-irf-port1]
quit
ps:要保证47和48两个接口是启用状态
。
[H3C]
save
[H3C]
chassis convert mode irf
配置BFD MAD检测
<H3C>
system-view
[H3C]
irf link-delay 0
# 创建VLAN 99,并将S7506X-A(成员编号为1)上的端口1/5/0/1和S7506X-B(成员编号为2)上的端口2/5/0/1加入VLAN中。
[H3C]
vlan 99
[H3C-vlan99]
port gigabitethernet 1/5/0/1 gigabitethernet 2/5/0/1
[H3C-vlan99]
quit
# VLAN接口99界面,并配置MAD IP地址。
[H3C]
interface vlan-interface 99
[H3C-Vlan-interface99]
mad bfd enable
[H3C-Vlan-interface99]
mad ip address 192.168.99.1 24 member 1
[H3C-Vlan-interface99]
mad ip address 192.168.99.2 24 member 2
[H3C-Vlan-interface99]
quit
# 因为BFD MAD和生成树功能互斥,所以在GigabitEthernet1/5/0/1和GigabitEthernet2/5/0/1上关闭生成树协议。
[H3C]
interface gigabitethernet 1/5/0/1
[H3C-gigabitethernet-1/5/0/1]
undo stp enable
[H3C-gigabitethernet-1/5/0/1]
quit
[H3C]
interface gigabitethernet 2/5/0/1
[H3C-gigabitethernet-2/5/0/1]
undo stp enable
dis irf configuration查看irf配置信息
dis irf link 查看irf信息
dis bfd session 查看bfd情况
dis mad verbose查看mad状态