Switch1

irf member 1 priority 32                 #将1号交换机IRF优先级调整至最高32

interface Ten-GigabitEthernet 1/0/1      #关闭堆叠端口
shutdown
interface Ten-GigabitEthernet 1/0/2
shutdown

irf-port 1/1      #创建IRF端口组1/1                        
      port group interface Ten-GigabitEthernet 1/0/1      #将端口1/0/1添加到IRF端口组1/1
irf-port 1/2
      port group interface Ten-GigabitEthernet 1/0/2

interface Ten-GigabitEthernet 1/0/1      #开启堆叠端口
undo shutdown
interface Ten-GigabitEthernet 1/0/2
undo shutdown

irf-port-configuration active            #激活IRF端口配置

Switch2

irf member 1 renumber 2                  #修改member号为2

save
reboot                  # 保存重启交换机,接口编号会改变

interface Ten-GigabitEthernet 2/0/1
shutdown
interface Ten-GigabitEthernet 2/0/2
shutdown

irf-port 2/1
      port group interface Ten-GigabitEthernet 2/0/1
irf-port 2/2
      port group interface Ten-GigabitEthernet 2/0/2

interface Ten-GigabitEthernet 2/0/1
undo shutdown
interface Ten-GigabitEthernet 2/0/2
undo shutdown

save      # 这里记得要保存,激活IRF后交换机会自动重启
irf-port-configuration active

BFD检测

vlan 4000
interface vlan 4000
 description ==Bfd-Mad-Detect==
 mad bfd enable
 mad ip address 1.1.1.1 255.255.255.252 member 1
 mad ip address 1.1.1.2 255.255.255.252 member 2

interface GigabitEthernet1/1/8
 port link-mode bridge
 description ==Bfd-Mad-Detect==
 port access vlan 4000
 undo stp enable

interface GigabitEthernet2/1/8
 port link-mode bridge
 description ==Bfd-Mad-Detect==
 port access vlan 4000
 undo stp enable

版权声明:本文为SuperRui原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/SuperRui/p/13629143.html