cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
935
Views
0
Helpful
9
Replies

what is the standard configuration for HSRP?

ssweehinlew
Level 1
Level 1

What is the standard configuration for HSRP? Can show me the configuration? for example: router A and router B.

9 Replies 9

Jon Marshall
Hall of Fame
Hall of Fame

router A

======

int fa0/0

ip address 192.168.5.2 255.255.255.0

standby 1 ip 192.168.5.1

standby 1 priority 110

standby 1 preempt

standby 1 authentication

router B

======

int fa0/0

ip address 192.168.5.3 255.255.255.0

standby 1 ip 192.168.5.1

standby 1 authentication

router A in the above example is HSRP active router.

Jon

Can both routers be active at the same time?

Hi,

No you cant have both routers Active, you can make router A active for one subnet (group) and router B active with different subnet by setting the Priority accordingly. If you want load-balancing you need to consider GLBP (gateway load-balancing protocol)

JayaKrishna

Hi,

standby 1 ip 192.168.5.1

Can i say that the virtual IP is 192.168.5.1?

ssweehinlew wrote:

Hi,

standby 1 ip 192.168.5.1

Can i say that the virtual IP is 192.168.5.1?

Yes.

can do it on the interface vlan rather than interface gigabitethernet?

ssweehinlew wrote:

can do it on the interface vlan rather than interface gigabitethernet?

Yes.

Under what kind of case scenario, we should use it on interface vlan rather than interface gigabitethernet?

ssweehinlew wrote:

Under what kind of case scenario, we should use it on interface vlan rather than interface gigabitethernet?

On a L3 switch. Generally speaking nowadays you will see HSRP used on L3 switches more then routers because L3 switches are usually responsible for inter-vlan routing. So a common setup is a pair of 3560, 4500, 6500 switches connected via a trunk with multiple L3 vlan interfaces running HSRP between them.

Jon

Review Cisco Networking for a $25 gift card