华三两台7506核心交换机怎么做BFD?
(0)
最佳答案
参考下面配置
(0)
1、配置IRF堆叠
1号设备关键配置如下:
[H3C]irf member 1 renumber 1 //将1号设备设定为成员1
[H3C]irf member 1 priority 32 //配置优先级32,值大优先,范围(1-32)
[H3C]int range Ten-GigabitEthernet 1/0/50 to Ten-GigabitEthernet 1/0/51
[H3C-if-range]shutdown
[H3C-if-range]quit
[H3C]irf-port 1/2 //将物理端口绑定到IRF端口
[H3C-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/50
[H3C-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/51
[H3C-irf-port1/2]quit
[H3C]int range Ten-GigabitEthernet 1/0/50 to Ten-GigabitEthernet 1/0/51
[H3C-if-range]undo shutdown
[H3C-if-range]quit
[H3C]irf-port-configuration active //激活IRF
[H3C]save
2号设备关键配置点如下:
[H3C]irf member 1 renumber 2 //将2号设备设定为成员2
[H3C]irf member 1 priority 1 //配置优先级1
[H3C]int range Ten-GigabitEthernet 2/0/50 to Ten-GigabitEthernet 2/0/51
[H3C-if-range]shutdown
[H3C-if-range]quit
[H3C]irf-port 2/1 //将物理端口绑定到IRF端口
[H3C-irf-port2/1]port group interface Ten-GigabitEthernet 2/0/50
[H3C-irf-port2/1]port group interface Ten-GigabitEthernet 2/0/51
[H3C-irf-port2/1]quit
[H3C]int range Ten-GigabitEthernet 2/0/50 to Ten-GigabitEthernet 2/0/51
[H3C-if-range]undo shutdown
[H3C-if-range]quit
[H3C]save
[H3C]irf-port-configuration active //激活IRF
2、配置LACP MAD检测
[H3C] irf domain 1 //设置IRF域编号为1。
[H3C] interface bridge-aggregation 2 //创建一个动态聚合接口,并使能LACP MAD检测功能。
[H3C-Bridge-Aggregation2] link-aggregation mode dynamic
[H3C-Bridge-Aggregation2] mad enable
[H3C-Bridge-Aggregation2] quit
# 在聚合接口中添加成员端口GigabitEthernet1/0/1、GigabitEthernet2/0/1,用于实现LACP MAD检测。
[H3C] interface range gigabitethernet 1/0/1 gigabitethernet 2/0/1
[H3C-if-range] port link-aggregation group 2
[H3C-if-range] quit
[H3C-if-range] save f
配置中间设备
中间设备用来来转发、处理LACP协议报文,协助IRF中的四台成员设备进行多Active检测。从节约成本的角度考虑,使用一台支持LACP协议扩展功能的交换机即可
[H3C] interface bridge-aggregation 2
[H3C-Bridge-Aggregation2] link-aggregation mode dynamic
[H3C-Bridge-Aggregation2] quit
# 在聚合接口中添加成员端口GigabitEthernet1/0/1 GigabitEthernet1/0/2,用于帮助LACP MAD检测。
[H3C] interface range gigabitethernet 1/0/1 to gigabitethernet 1/0/4
[H3C-if-range] port link-aggregation group 2
[H3C-if-range] quit
[H3C-if-range] save f
3、配置BFD MAD检测
irf link-delay 0 #修改IRF链路down延迟上报时间为0。
# 创建VLAN 3,并将端口GigabitEthernet1/0/1、GigabitEthernet2/0/1加入VLAN 3中。
vlan 3
port gigabitethernet 1/0/1 gigabitethernet 2/0/1
quit
# 创建VLAN接口3,并配置MAD IP地址。
interface vlan-interface 3
mad bfd enable
mad ip address 192.168.2.1 24 member 1
mad ip address 192.168.2.2 24 member 2
quit
# 因为BFD MAD和生成树功能互斥,所以在GigabitEthernet1/0/1、GigabitEthernet2/0/1端口上关闭生成树协议。
interface range gigabitethernet 1/0/1 gigabitethernet 2/0/1
undo stp enable
quit
配置中间设备 //如果没有中间设备的话,此配置可不配
中间设备用来透传BFD MAD报文,协助IRF中的四台成员设备进行多Active检测。
# 创建VLAN 3,并将端口GigabitEthernet1/0/1~GigabitEthernet1/0/4加入VLAN 3中,用于转发BFD MAD报文。
[H3C] vlan 3
[H3C-vlan3] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4
[H3C-vlan3] quit
[H3C-vlan3] save f
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论