Lab 20. HSRP Track Route
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
Cek pastikan R2 memiliki route 8.8.8.8/32
R2
R2#show ip route eigrp
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
R2
R2(config)#do show standby brief
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
R3(config)#interface lo0
R3(config-if)#shutdown
R3(config-if)#exit
Kita lihat statusnya ,berubah menjadi standby dengan nilai priority 90.
R2
R2(config)#
*Feb 3 11:03:03.843: %TRACKING-5-STATE: 1 ip route 8.8.8.8/32
reachability Up->Down
R2(config)#
*Feb 3 11:03:05.335: %HSRP-5-STATECHANGE: FastEthernet0/1 Grp
1 state Active -> Speak
R2(config)#
*Feb 3 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 akan berubah menjadi active , priotity 100
R1
R1#show standby brief
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
Aktifkan kembali interface loopback R3
R3
R3(config)#int lo0
R3(config-if)#no sh
R3(config-if)#ex
Tidak ada komentar:
Posting Komentar