您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息
免费发信息
三六零分类信息网 > 白银分类信息网,免费分类信息发布

华为vrrp配置实例 参数详情

2023/3/27 8:05:40发布45次查看
1、r1配置:
[r1]interface g0/0/0
[r1-gigabitethernet0/0/0]ip address 192.168.1.254 24
[r1]interface g0/0/1
[r1-gigabitethernet0/0/1]ip address 192.168.13.1 24
2、r2配置:
[r2]interface g0/0/0
[r2-gigabitethernet0/0/0]ip add
[r2-gigabitethernet0/0/0]ip address 192.168.1.253 24
[r2-gigabitethernet0/0/0]int g0/0/1
[r2-gigabitethernet0/0/1]ip add
[r2-gigabitethernet0/0/1]ip address 192.168.23.1 24
3、r3配置:
[r3]interface g0/0/0
[r3-gigabitethernet0/0/0]ip ad
[r3-gigabitethernet0/0/0]ip address 192.168.13.2 24
[r3]interface g0/0/0
[r3-gigabitethernet0/0/0]ip ad
[r3-gigabitethernet0/0/0]ip address 192.168.13.2 24
[r3-loopback1]ip address 10.0.0.1 24
4、r1、r2配置vrrp,并监控g0/0/1
[r1-gigabitethernet0/0/0]vrrp vrid 1 virtual-ip 192.168.1.250
[r1-gigabitethernet0/0/0]vrrp vrid 1 track interface g0/0/1 reduced 50
[r2-gigabitethernet0/0/0]vrrp vrid 1 virtual-ip 192.168.1.250
[r2-gigabitethernet0/0/0]vrrp vrid 1 track interface g0/0/1 reduced 51
5、r1、r2、r3配置静态路由,确保全网互通
[r1]ip route-static 10.0.0.1 255.255.255.0 192.168.13.2
[r2]ip route-static 10.0.0.1 255.255.255.0 192.168.23.2
[r3]ip route-static 192.168.1.0 255.255.255.0 192.168.13.1
[r3]ip route-static 192.168.1.0 255.255.255.0 192.168.23.1
6、测试
r1上查看vrrp
r2上查看
pc上测试
7、模拟r2->r3线路故障,测试路由
在pc上跟踪路由
r2上看vrrp
vrrp自动切换r2为master路由,链路备份成功。
白银分类信息网,免费分类信息发布

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录