软件平台 | SG6000-5.5R7P8 |
硬件平台 | SG-6000-E1100 |
步骤一: 配置Device A的监测对象。监控主设备ethernet0/0的工作状态,一旦发现接口工作失败,则进行主备切换。
【Device A WebUI】
选择“对象 > 监测对象”,并点击“新建”。
监测类型:选择<接口>单选按钮,并点击“添加”按钮。在弹出的<添加监测对象>对话框,指定接口为“ethernet0/0”,权值为“255”
【Device A CLI】
步骤二: 配置HA组。
【Device A WebUI】
Device A 选择“系统 > HA”,在<组0>处配置。
【Device A CLI】
DeviceA(config-ha-group)# priority 10
DeviceA(config-ha-group)# preempt 3 //主墙可以配置抢占
DeviceA(config-ha-group)# hello interval 200
DeviceA(config-ha-group)# hello threshold 15
DeviceA(config-ha-group)# arp 15
DeviceA(config-ha-group)# monitor track track1
【Device B WebUI】
选择“系统 > HA”,在<组0>处配置。
【Device B CLI】
DeviceB(config-ha-group)# priority 100
DeviceB(config-ha-group)# hello interval 200
DeviceB(config-ha-group)# hello threshold 15
DeviceB(config-ha-group)# arp 15
步骤三:配置HA控制连接接口,并开启HA功能。
【Device A WebUI】
选择“系统 > HA”。
【Device A CLI】
DeviceA(config)# ha link interface ethernet0/4
DeviceA(config)# ha link interface ethernet0/8
DeviceA(config)# ha link ip 1.1.1.1/24
DeviceA(config)# ha cluster 1 node 0
【Device B WebUI】
选择“系统 > HA”。
【Device B CLI】
DeviceB(config)# ha link interface ethernet0/4
DeviceB(config)# ha link interface ethernet0/8
DeviceB(config)# ha link ip 1.1.1.2/24
DeviceB(config)# ha cluster 1 node 1
步骤四:主备同步完成后,配置主设备与备份设备的管理IP。
【Device A WebUI】
选择“网络 > 接口”,双击ethernet0/1。在<接口配置>对话框<IP配置>处点击“高级选项”。
【Device A CLI】
DeviceA(config)# interface e0/0
DeviceA(config-if-eth0/0)# manage ip 192.168.1.253
【Device B WebUI】
选择“网络 > 接口”,双击ethernet0/1。在<接口配置>对话框<IP配置>处点击“高级选项”。
【Device B CLI】
DeviceB(config)# interface e0/0
DeviceB(config-if-eth0/0)# manage ip 192.168.1.254
步骤六:验证结果。
配置完成后,点击“系统 > 系统信息”,两台设备的HA状态分别如下显示:
【Device A WebUI】
【Device B WebUI】
☛ 以上部分图片显示异常,详细图文内容!
本文发布于:2024-01-31 16:01:41,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170668810129711.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |