cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1948
Views
0
Helpful
2
Replies

HSRP Secondary

dbarboza27
Level 1
Level 1

Hi guys,

I have a question about HSRP command.

The command is as follows:

standby [group-number] ip [ip-address[secondary]]

I undestand that the secondary argument meants that the HSRP will be a secondary group in the same interface. The thing is, what happen when there is a secondary IP address configured in the interface, is it necessary to write that argument to ??? or it is possible to have an HSRP group in an interface using just its secondary IP address.

Thanks for your comments,

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Douglas,

the secondary option tells the router that the HSRP group will serve users of an IP subnet associated to an ip address ... secondary command

So it is really thought for the case you are describing and not for other uses

see from a real device in a campus:

sh run | inc secondary

ip address 10.85.16.2 255.255.255.128 secondary

standby 100 ip 10.85.16.1 secondary

this group 100 is defined under a Vlan interface on a multilayer switch and has an IP address that matches a secondary statement

Hope to help

Giuseppe

John Blakley
VIP Alumni
VIP Alumni

If you have something like:

int vlan 1

ip address 192.168.1.1 255.255.255.0

ip address 192.168.2.1 255.255.255.0 sec

ip address 192.168.3.1 255.255.255.0 sec

You're config would look something like:

standby 1 ip 192.168.1.5

standby 1 ip 192.168.2.5 secondary

standby 1 ip 192.168.3.5 secondary

The standby config above would be the gateway for the workstations....

HTH,

John

HTH, John *** Please rate all useful posts ***
Review Cisco Networking products for a $25 gift card