VRRP TRACK ROUTE - SWITCHTECH #24
VRRP TRACK ROUTE - SWITCHTECH
Perhatikan topologi berikut ini,
Konfigurasi di R1
R1
R1(config)#int f0/1
R1(config-if)#no sh
!
R1(config)#interface fastEthernet0/1
R1(config-if)#vrrp 1 track 1 decrement 20
!
R1(config-if)#track 1 ip route 8.8.8.8/32 reachability
Verifikasi dan Pastikan R1 memiliki route 8.8.8.8/32
R1
R1(config)#do show ip route eigrp
23.0.0.0/24 is subnetted, 1 subnets
D 23.23.23.0 [90/30720] via 192.168.12.2, 00:01:02, FastEthernet0/1
8.0.0.0/32 is subnetted, 1 subnets
D 8.8.8.8 [90/156160] via 13.13.13.3, 00:00:04, FastEthernet0/0
Shutdown interface loopback R3, dan perhatikan proses yang terjadi berikutnya
R3
R3(config)#int lo0
R3(config-if)#shutdown
R3(config-if)#exit
Perhatikan statusnya akan berubah dari Master menjadi Backup dengan nilai priority 90,
R1
*Feb 3 12:29:47.971: %TRACKING-5-STATE: 1 ip route 8.8.8.8/32
reachability Up->Down
R1(config)#
*Feb 3 12:29:51.011: %VRRP-6-STATECHANGE: Fa0/1 Grp 1 state Master -> Backup
!
R1(config)#do show vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Fa0/1 1 90 3570 Y Backup 192.168.12.2 192.168.12.254
Dari sisi R1 akan berubah menjadi master dengan priority 100,
R1(config)#do show vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Fa0/1 1 100 3570 Y Backup 192.168.12.2 192.168.12.254
Aktifkan kembali interface loopback R3
R3
R3(config)#int lo0
R3(config-if)#no shutdown
R3(config-if)#exit
Komentar
Posting Komentar