Configuring
HSRP on Cisco Router
Using the diagram above we are going to configure R1 and R2 for
HSRP using the virtual IP address of 10.1.20.1
R1 will be configured as the Active HSRP default-gateway and R2
will be configured as Standby.
|
|
|
|
|
The Preempt command
is configured on both routers.
HSRP on R1
BLR-OIMS-RTR01(config)# interface Gi0/0
BLR-OIMS-RTR01 (config-if)# ip address 10.1.20.2 255.255.255.0
BLR-OIMS-RTR01 (config-if)# standby 1 ip 10.1.20.1
BLR-OIMS-RTR01 (config-if)# standby 1 priority 110
BLR-OIMS-RTR01 (config-if)# standby 1 preempt
HSRP on R2
BLR-OIMS-RTR02 (config)# interface Gi0/0
BLR-OIMS-RTR02 (config-if)# ip address 10.1.20.3 255.255.255.0
BLR-OIMS-RTR02 (config-if)# No shutdown
BLR-OIMS-RTR02 (config-if)# standby 1 ip 10.1.20.1
BLR-OIMS-RTR02 (config-if)# standby 1 preempt
Verify HSRP
After configuration, give a few moment and use the show
standby and show standby brief commands on R1 and R2
to verify that HSRP your configuration.
R1 should be the Active router and R2 should be Standby.
- See more at:
http://www.orbit-computer-solutions.com/How-to-configure-HSRP-on-Cisco-router-.php#sthash.nVbG0y6O.dpuf
No comments:
Post a Comment