Basic Hot Standby Router Protocol (HSRP)

Hot Standby Router Protocol (HSRP)

Full Configuration Script :

to-ISP-A#show run
!
hostname to-ISP-A
!
!
interface FastEthernet0/0
description *** CONNNECTION TO LAN ***
ip address 192.168.10.3 255.255.255.0
standby 10 priority 100
standby 10 ip 192.168.10.1
standby 10 preempt
standby 10 name MASTER_HSRP_GATEWAY
!
interface FastEthernet1/0
description *** CONNECTION TO ISP A ***
ip address 10.0.0.1 255.255.255.0
duplex auto
speed auto
!
to-ISP-A#show ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.10.3 YES manual up up
FastEthernet1/0 10.0.0.1 YES manual up up
to-ISP-A#

to-ISP-B#show run
!
hostname to-ISP-B
!
!
interface FastEthernet0/0
description *** CONNECTION TO LAN ***
ip address 192.168.10.4 255.255.255.0
duplex auto
speed auto
standby 10 ip 192.168.10.1
standby 10 priority 50
standby 10 preempt
standby 10 name BACKUP_HSRP_GATEWAY
!
interface FastEthernet1/0
description *** CONNECTION TO ISP_B ***
ip address 20.0.0.1 255.255.255.0
duplex auto
speed auto
!
to-ISP-B#show ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.10.4 YES manual up up
FastEthernet1/0 20.0.0.1 YES manual up up
to-ISP-B#

VIRTUAL IP yang active di handling oleh Router to-ISP-A
to-ISP-A#show standby
FastEthernet0/0 – Group 10
Local state is Active, priority 100, may preempt
Hellotime 3 sec, holdtime 10 sec
Next hello sent in 0.840
Virtual IP address is 192.168.10.1 configured
Active router is local
Standby router is 192.168.10.4 expires in 9.124
Virtual mac address is 0000.0c07.ac0a
4 state changes, last state change 00:00:31
IP redundancy name is “MASTER_HSRP_GATEWAY” (cfgd)
to-ISP-A#

dilihat disisi Router to-ISP-B,

to-ISP-B#show standby
FastEthernet0/0 – Group 10
Local state is Speak, priority 50, may preempt
Hellotime 3 sec, holdtime 10 sec
Next hello sent in 1.942
Virtual IP address is 192.168.10.1 configured
Active router is 192.168.10.3, priority 100 expires in 8.940
Standby router is unknown
6 state changes, last state change 00:00:09
IP redundancy name is “BACKUP_HSRP_GATEWAY” (cfgd)
to-ISP-B#

ketika interface to-ISP-A down, maka active router nya adalah local
to-ISP-B#show standby
FastEthernet0/0 – Group 10
Local state is Active, priority 50, may preempt
Hellotime 3 sec, holdtime 10 sec
Next hello sent in 0.530
Virtual IP address is 192.168.10.1 configured
Active router is local
Standby router is unknown
Virtual mac address is 0000.0c07.ac0a
8 state changes, last state change 00:00:08
IP redundancy name is “BACKUP_HSRP_GATEWAY” (cfgd)
to-ISP-B#

Full HSRP Topology and Configuration

simple-hsrp-configuration

~ by feryjunaedi on February 23, 2009.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: