0
点赞
收藏
分享

微信扫一扫

VRRP非直连检测

进入已配置VRRP接口

[R1-GigabitEthernet0/0/0]int gi0/0/1
[R1-GigabitEthernet0/0/1]dis this
[V200R003C00]
#
interface GigabitEthernet0/0/1
 ip address 192.168.10.253 255.255.255.0 
 vrrp vrid 1 virtual-ip 192.168.10.1
 vrrp vrid 1 priority 105
#
return

配置track 接口

[R1-GigabitEthernet0/0/1]vrrp vrid 1 track interface GigabitEthernet0/0/0

查看配置前主次

[R1]display vrrp brief
Total:1     Master:1     Backup:0     Non-active:0      
VRID  State        Interface                Type     Virtual IP     
----------------------------------------------------------------
1     Master       GE0/0/1                  Normal   192.168.10.1   
[R1]

----------------

[R2]display vrrp brief
Total:1     Master:0     Backup:1     Non-active:0      
VRID  State        Interface                Type     Virtual IP     
----------------------------------------------------------------
1     Backup       GE0/0/1                  Normal   192.168.10.1   
[R2]

查看track 接口down后主次

[R1]display vrrp brief
Total:1     Master:0     Backup:1     Non-active:0      
VRID  State        Interface                Type     Virtual IP     
----------------------------------------------------------------
1     Backup       GE0/0/1                  Normal   192.168.10.1  

----------

[R2]display vrrp brief 
Total:1     Master:1     Backup:0     Non-active:0      
VRID  State        Interface                Type     Virtual IP     
----------------------------------------------------------------
1     Master       GE0/0/1                  Normal   192.168.10.1  

实验拓扑

VRRP非直连检测_track interface

举报

相关推荐

VRRP

VRRP协议

VRRP简介

VRRP基础

VRRP与BFD

VRRP小实验

vrrp 负载均衡

0 条评论