Switching Tech, Lab 20. HSRP - Track Route




Untuk topology masih sama, Konfigurasikan di R2 


R2:
R2(config)#track 1 ip route 8.8.8.8/32 reachability  
R2(config-track)#
R2(config-track)#interface FastEthernet0/1  
R2(config-if)#standby 1 track 1 decrement 20  

Verifikasi 

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  

R2 statusnya adalah active dan prioritasnya adalah 110, kemudian Shutdown interface loopback R3, dan perhatikan proses yang terjadi berikutnya. 

R3:
R3(config)#interface lo0 
R3(config-if)#shutdown  
R3(config-if)#exit  

Perhatikan statusnya akan 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)#
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  

Dari sisi R1 akan berubah menjadi active dengan priority 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 shutdown  
R3(config-if)#exit  

Komentar

Postingan populer dari blog ini

Automation, Backup Config With Paramiko