VRRP ( IP SLA ) - SWITCHING TECHNOLOGIES #25 ( CCNP )

 SWITCHING TECHNOLOGIES #25 :

VRRP ( IP SLA ) 


Hapus konfigurasi tracking bekas lab sebelumnya dan konfigurasikan IP SLA nya


R1
R1(config)#no track 1 ip route 8.8.8.8 255.255.255.255 reachability
R1(config)#ip sla 1
R1(config-ip-sla)#icmp-echo 8.8.8.8 source-interface f0/1
R1(config-ip-sla-echo)#frequency 10
R1(config-ip-sla-echo)#timeout 5000
R1(config-ip-sla-echo)#track 1 ip sla 1 reachability
R1(config)#ip sla schedule 1 start-time now life forever
!
R1(config)#do show run int f0/1 | i decrement
vrrp 1 track 1 decrement 20


R1
R1(config)#do show vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Fa0/1 1 110 3570 Y Master 192.168.12.1 192.168.12.254


Shutdown interface loopback0 R3 sehingga ip 8.8.8.8 tidak bisa di ping


R3
R3(config)#int lo0
R3(config-if)#shutdown
R3(config-if)#exit


Perhatikan status tracking akan berubah dari up menjadi down yang
kemudian menjadi Backup


R1
*Feb 3 12:37:17.739: %TRACKING-5-STATE: 1 ip sla 1 reachability Up->Down
R1(config)#
*Feb 3 12:37:20.871: %VRRP-6-STATECHANGE: Fa0/1 Grp 1 state Master -> Backup
R1(config)#

Sekarang nilai priority nya menjadi 90 dengan state backup


R1
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


Dan R2 akan jadi master

 
R2
R2(config)#do show vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr Fa0/1
1 100 3609 YMaster 192.168.12.2 192.168.12.254


Aktifkan kembali interface loopback0 R3


R3
R3(config)#int lo0
R3(config-if)#no shutdown
R3(config-if)#exit'


Verifikasi lagi


R1
*Feb 3 12:41:02.739: %TRACKING-5-STATE: 1 ip sla 1 reachability Down->Up
R1(config)#
*Feb 3 12:41:05.931: %VRRP-6-STATECHANGE: Fa0/1 Grp 1 state Backup ->
Master
!
R1(config)#do show vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Fa0/1 1 110 3570 Y Master 192.168.12.1 192.168.12.254

Komentar

Postingan populer dari blog ini

BGP BASIC CONFIGURATION - BGP #2 ( CCNP )

BGP ATTRIBUTE ( COMMUNITY-LIST ) - BGP #9 ( CCNP )

OTP - EIGRP #17 ( CCNP )