實(shí)驗(yàn)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的 搶占延遲時(shí)間為20s,如此一來,若Master設(shè)備R1在從故障恢 復(fù)后,重新切換為Master狀態(tài)時(shí)需等待20s。
查看VRPP的詳細(xì)配置信息:
vrrp簡(jiǎn)要信息查詢:
下期講VRRP+MSTP經(jīng)典組網(wǎng)案例