Switching Lab 20 : HSRP – Track Route
LAB 20
Untuk topologi masih sama, Konfigurasikan di R2.
R2
R2(config)#track 1 ip route 8.8.8.8/32 reachability!
R2(config-track)#interface FastEthernet0/1
R2(config-if)#standby 1 track 1 decrement 20
R2#show ip route eigrp Verifikasi
Pastikan R2 memiliki route 8.8.8.8/32
R2
8.0.0.0/32 is subnetted, 1 subnets
D 8.8.8.8 [90/158720] via 192.168.12.1, 00:06:05, FastEthernet0/1
13.0.0.0/24 is subnetted, 1 subnets
D 13.13.13.0 [90/30720] via 192.168.12.1, 00:00:44, FastEthernet0/1
P indicates configured to preempt.
| Interface Grp Pri P State Active Standby Virtual IP Fa0/1
1 110 P Active local 192.168.12.1 192.168.12.254
R3(config)#interface lo0 R2 statusnya adalah active dan prioritasnya adalah 110, kemudian Shutdown interface loopback R3, dan perhatikan proses yang terjadi berikutnya.
R3
R3(config-if)#shutdown
R3(config-if)#exit
R2(config)# Perhatikan statusnya akan berubah menjadi standby dengan nilai priority 90.
R2
*Des 10 11:03:03.843: %TRACKING-5-STATE: 1 ip route 8.8.8.8/32 reachability
Up->Down
R2(config)#
*Des 10 11:03:05.335: %HSRP-5-STATECHANGE: FastEthernet0/1 Grp
1 state Active -> Speak
R2(config)#
*Des 10 11:03:16.435: %HSRP-5-STATECHANGE: FastEthernet0/1 Grp
1 state Speak -> Standby
!
R2(config)#do show standby brief
P indicates configured to preempt.
| Interface Grp Pri P State Active Standby Virtual IP Fa0/1
1 90 P Standby 192.168.12.1 local 192.168.12.254
R1#show standby brief Dari sisi R1 akan berubah menjadi active dengan priority 100
R1
P indicates configured to preempt.
| Interface Grp Pri P State Active Standby Virtual IP Fa0/1
1 100 P Active local 192.168.12.2 192.168.12.254
R3(config)#int lo0 Aktifkan kembali interface loopback R3
R3
R3(config-if)#no shutdown
R3(config-if)#exit
Comments
Post a Comment