多平台统一管理软件接口,如何实现多平台统一管理软件接口
1198
2022-09-15
H3C IRF典型配置举例(h3c magic r100路由器)
IRF典型配置举例(LACP MAD检测方式)
组网图
配置步骤
配置Device A
配置IRF 优先级
irf member 1 priority 30
关闭IRF所需要的物理接口
[H3C]interface range Ten-GigabitEthernet 1/0/25 to Ten-GigabitEthernet 1/0/28[H3C-if-range]shut[H3C-if-range]quit
配置IRF1/1端口绑定物理接口Ten-GigabitEthernet 1/0/25 ,Ten-GigabitEthernet 1/0/26
[H3C]irf-port 1/1 [H3C-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/25[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/26[H3C-irf-port1/1]
配置IRF1/2端口绑定物理接口Ten-GigabitEthernet 1/0/27 ,Ten-GigabitEthernet 1/0/28
[H3C]irf-port 1/2[H3C-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/27[H3C-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/28[H3C-irf-port1/2]quit
开启物理端口并保存配置
[H3C]interface range Ten-GigabitEthernet 1/0/25 to Ten-GigabitEthernet 1/0/28[H3C-if-range]undo shut[H3C-if-range]quit[H3C]save
激活IRF端口下配置
irf-port-configuration active
配置Device B
将Device B成员编号设置成2
[H3C]irf member 1 renumber 2 [H3C]quit[H3C]reboot
配置IRF优先级
irf member 2 priority 25
关闭IRF所需要的物理接口
[H3C]interface range Ten-GigabitEthernet 2/0/25 to Ten-GigabitEthernet 2/0/28[H3C-if-range]shut[H3C-if-range]quit
配置IRF2/1端口绑定物理接口Ten-GigabitEthernet 2/0/25 ,Ten-GigabitEthernet 2/0/26
[H3C]irf-port 2/1 [H3C-irf-port2/1]port group interface Ten-GigabitEthernet 2/0/25[H3C-irf-port2/1]port group interface Ten-GigabitEthernet 2/0/26[H3C-irf-port2/1]
配置IRF2/2端口绑定物理接口Ten-GigabitEthernet 2/0/27 ,Ten-GigabitEthernet 2/0/28
[H3C]irf-port 2/2[H3C-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/27[H3C-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/28[H3C-irf-port2/2]quit
开启物理端口并保存配置
[H3C]interface range Ten-GigabitEthernet 2/0/25 to Ten-GigabitEthernet 2/0/28[H3C-if-range]undo shut[H3C-if-range]quit[H3C]save
激活IRF端口下配置,设备重启后完成堆叠
irf-port-configuration active
配置Device C
将Device C成员编号设置成3
[H3C]irf member 1 renumber 3[H3C]quit[H3C]reboot
配置IRF优先级
irf member 3 priority 20
关闭IRF所需要的物理接口
[H3C]interface range Ten-GigabitEthernet 3/0/25 to Ten-GigabitEthernet 3/0/28[H3C-if-range]shut[H3C-if-range]quit
配置IRF3/1端口绑定物理接口Ten-GigabitEthernet 3/0/25 ,Ten-GigabitEthernet 3/0/26
[H3C]irf-port 3/1 [H3C-irf-port3/1]port group interface Ten-GigabitEthernet 3/0/25[H3C-irf-port3/1]port group interface Ten-GigabitEthernet 3/0/26[H3C-irf-port3/1]
配置IRF3/2端口绑定物理接口Ten-GigabitEthernet 3/0/27 ,Ten-GigabitEthernet 3/0/28
[H3C]irf-port 3/2[H3C-irf-port3/2]port group interface Ten-GigabitEthernet 3/0/27[H3C-irf-port3/2]port group interface Ten-GigabitEthernet 3/0/28[H3C-irf-port3/2]quit
5.开启物理端口并保存配置
[H3C]interface range Ten-GigabitEthernet 3/0/25 to Ten-GigabitEthernet 3/0/28[H3C-if-range]undo shut[H3C-if-range]quit[H3C]save
6.激活IRF端口下配置,设备重启后完成堆叠
irf-port-configuration active
配置Device D
将Device D成员编号设置成4
[H3C]irf member 1 renumber 4[H3C]quit[H3C]reboot
配置IRF优先级
irf member 4 priority 15
关闭IRF所需要的物理接口
[H3C]interface range Ten-GigabitEthernet 4/0/25 to Ten-GigabitEthernet 4/0/28[H3C-if-range]shut[H3C-if-range]quit
配置IRF4/1端口绑定物理接口Ten-GigabitEthernet 4/0/25 ,Ten-GigabitEthernet 4/0/26
[H3C]irf-port 4/1 [H3C-irf-port4/1]port group interface Ten-GigabitEthernet 4/0/25[H3C-irf-port4/1]port group interface Ten-GigabitEthernet 4/0/26[H3C-irf-port4/1]
配置IRF4/2端口绑定物理接口Ten-GigabitEthernet 4/0/27 ,Ten-GigabitEthernet 4/0/28
[H3C]irf-port 4/2[H3C-irf-port4/2]port group interface Ten-GigabitEthernet 4/0/27[H3C-irf-port4/2]port group interface Ten-GigabitEthernet 4/0/28[H3C-irf-port4/2]quit
5.开启物理端口并保存配置
[H3C]interface range Ten-GigabitEthernet 4/0/25 to Ten-GigabitEthernet 4/0/28[H3C-if-range]undo shut[H3C-if-range]quit[H3C]save
6.激活IRF端口下配置,设备重启后完成堆叠
irf-port-configuration active
配置LACP MAD
设置IRF域编号
irf domain 1
创建动态聚合口,并使LACP MAD检测功能
[H3C]interface bridge-aggregation 2 [H3C-bridge-aggregation2]link-aggregation mode dynamic[H3C-bridge-aggregation2]mad enable
在聚合口下添加成员端口
[H3C]Ten-GigabitEthernet 1/0/1[H3C-Ten-GigabitEthernet1/0/1]port link-aggregation group 2[H3C-Ten-GigabitEthernet1/0/1]quit[H3C]Ten-GigabitEthernet 2/0/1[H3C-Ten-GigabitEthernet2/0/1]port link-aggregation group 2[H3C-Ten-GigabitEthernet2/0/1]quit[H3C]Ten-GigabitEthernet 3/0/1[H3C-Ten-GigabitEthernet3/0/1]port link-aggregation group 2[H3C-Ten-GigabitEthernet3/0/1]quit[H3C]Ten-GigabitEthernet 4/0/1[H3C-Ten-GigabitEthernet4/0/1]port link-aggregation group 2[H3C-Ten-GigabitEthernet4/0/1]quit
配置中间设备Device E
[H3C]interface bridge-aggregation 2 [H3C-bridge-aggregation2]link-aggregation mode dynamic[H3C-bridge-aggregation2]quit[H3C]Ten-GigabitEthernet 1/0/1[H3C-Ten-GigabitEthernet1/0/1]port link-aggregation group 2[H3C-Ten-GigabitEthernet1/0/1]quit[H3C]Ten-GigabitEthernet 1/0/2[H3C-Ten-GigabitEthernet1/0/2]port link-aggregation group 2[H3C-Ten-GigabitEthernet1/0/2]quit[H3C]Ten-GigabitEthernet 1/0/3[H3C-Ten-GigabitEthernet1/0/3]port link-aggregation group 2[H3C-Ten-GigabitEthernet1/0/3]quit[H3C]Ten-GigabitEthernet 1/0/4[H3C-Ten-GigabitEthernet1/0/4]port link-aggregation group 2[H3C-Ten-GigabitEthernet1/0/4]quit
IRF典型配置举例(BFD MAD检测方式)
组网图
配置步骤
配置Device A
详见上面配置
配置Device B
详见上面配置
配置Device C
详见上面配置
配置Device D
详见上面配置
配置BFD MAD
创建VLAN 3,并将接口加入
irf domain 1vlan 3port Ten-GigabitEthernet 1/0/1 Ten-GigabitEthernet 2/0/1 Ten-GigabitEthernet 3/0/1 Ten-GigabitEthernet 4/0/1quit
创建vlan3 接口,并配置MAD IP地址
interface vlan-interface vlan 3mad bfd enablemad ip address 192.168.2.1 24 member 1mad ip address 192.168.2.2 24 member 2mad ip address 192.168.2.3 24 member 3mad ip address 192.168.2.4 24 member 4quit
BFD功能和生成树功能互斥,需要在物理接口关闭stp
[H3C]Ten-GigabitEthernet 1/0/1[H3C-Ten-GigabitEthernet1/0/1]undo stp enable[H3C-Ten-GigabitEthernet1/0/1]quit[H3C]Ten-GigabitEthernet 2/0/1[H3C-Ten-GigabitEthernet2/0/1]undo stp enable[H3C-Ten-GigabitEthernet2/0/1]quit[H3C]Ten-GigabitEthernet 3/0/1[H3C-Ten-GigabitEthernet3/0/1]undo stp enable[H3C-Ten-GigabitEthernet3/0/1]quit[H3C]Ten-GigabitEthernet 4/0/1[H3C-Ten-GigabitEthernet4/0/1]undo stp enable[H3C-Ten-GigabitEthernet4/0/1]quit
配置中间设备Device E
vlan 3port Ten-GigabitEthernet 1/0/1 to Ten-GigabitEthernet 1/0/4quit
IRF典型配置举例(ARP MAD检测方式)
组网图
配置步骤
配置Device A
详见上面配置
配置Device B
详见上面配置
配置Device C
详见上面配置
配置Device D
详见上面配置
配置ARP MAD
创建VLAN 3,并将接口加入
irf domain 1vlan 3port Ten-GigabitEthernet 1/0/1 Ten-GigabitEthernet 2/0/1 Ten-GigabitEthernet 3/0/1 Ten-GigabitEthernet 4/0/1quit
创建vlan3 接口,并配置MAD IP地址
interface vlan-interface vlan 3ip address 192.168.2.1 24mad arp enablequit
[H3C]Ten-GigabitEthernet 1/0/1[H3C-Ten-GigabitEthernet1/0/1]undo stp enable[H3C-Ten-GigabitEthernet1/0/1]quit[H3C]Ten-GigabitEthernet 2/0/1[H3C-Ten-GigabitEthernet2/0/1]undo stp enable[H3C-Ten-GigabitEthernet2/0/1]quit[H3C]Ten-GigabitEthernet 3/0/1[H3C-Ten-GigabitEthernet3/0/1]undo stp enable[H3C-Ten-GigabitEthernet3/0/1]quit[H3C]Ten-GigabitEthernet 4/0/1[H3C-Ten-GigabitEthernet4/0/1]undo stp enable[H3C-Ten-GigabitEthernet4/0/1]quit
配置中间设备Device E
vlan 3stp global enableport Ten-GigabitEthernet 1/0/1 to Ten-GigabitEthernet 1/0/4quit
IRF典型配置举例(ND MAD检测方式)
组网图
配置步骤
配置Device A
详见上面配置
配置Device B
详见上面配置
配置Device C
详见上面配置
配置Device D
详见上面配置
配置ND MAD
创建VLAN 3,并将接口加入
stp global enableundo irf mac-address persistent irf domain 1vlan 3port Ten-GigabitEthernet 1/0/1 Ten-GigabitEthernet 2/0/1 Ten-GigabitEthernet 3/0/1 Ten-GigabitEthernet 4/0/1quit
创建vlan3 接口,并配置MAD IP地址
interface vlan-interface vlan 3ipv6 address 2001::1 64mad nd enablequit
配置中间设备Device E
vlan 3stp global enableport Ten-GigabitEthernet 1/0/1 to Ten-GigabitEthernet 1/0/4quit
IRF配置检查
操作 | 命令 |
显示IRF所有成员相关信息 | dis irf |
查看IRF拓扑信息 | dis irf topology |
查看IRF链路信息 | dis irf link |
查看IRF配置信息 | dis irf config |
查看IRF链路负载分担类型 | dis irf-port load-sharing mode [irf-port member-id/port-number] |
查看MAD配置信息 | dis mad verbose |
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~