实验topo
R1配置:
interface GigabitEthernet0/0/0
ip address 192.168.1.253 24
vrrp vrid 1 virtual-ip 192.168.1.254
vrrp vrid 1 priority 120
vrrp vrid 1 preempt-mode timer delay 20
R2:配置
interface GigabitEthernet0/0/0
ip address 192.168.1.252 24
vrrp vrid 1 virtual-ip 192.168.1.254
注意:vrrp vrid 1 preempt-mode timer delay 20命令是配置VRID 1的 抢占延迟时间为20s,如此一来,若Master设备R1在从故障恢 复后,重新切换为Master状态时需等待20s。
查看VRPP的详细配置信息:
vrrp简要信息查询:
下期讲VRRP+MSTP经典组网案例