cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
617
Views
0
Helpful
6
Replies

HSRP config

jaweed123
Level 1
Level 1

Hi,

How can I add the HSRP config to a VLAN interface option.

Regards

6 Replies 6

Amit Singh
Cisco Employee
Cisco Employee

This is how you could do it :

Interface Vlan 10

ip add x.x.x.x y.y.y.y

standby 1 ip x.x.x.x

standby 1 preempt

standby 1 priority 150

http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_35_se/configuration/guide/swhsrp.html

HTH,

-amit singh

bvsnarayana03
Level 5
Level 5

interface Vlan5

ip address x.x.x.x 255.255.252.0

standby priority 60

standby 1 ip y.y.y.y

standby 1 priority 60

standby 1 preempt

x.x.x.x = physical Ip on interface

y.y.y.y = Virtual Ip (used as gateway for hsots on vlan)

Priority = Higher priority switch is active

Preempt = Causes the switch to takeover the active state when its priority is higher than other switch.

Thanks ... I will try it should work.

Hi Narayan,

The default priority value is 100 and why did you choose the 60 as priority, why not 5 or 100 or 200 or 500 ?

Thanks and Regards

Hi

I think the other poster choose the priority 60 in order to make this router as a standby and the other as active.If u leave the priority for default u will not have the control over election of standby and active routers.

Mahmood

Thanks Mahmood.

Review Cisco Networking products for a $25 gift card