cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1115
Views
0
Helpful
4
Replies

HSRP Configuration

jorogan
Level 1
Level 1

Hi,

 

Good Day,

 

I want to know if HSRP/VRRP/GLBP Configuration is supported in ISR4k switch?

if yes, may I know the requirements of configuring it. Thanks

for example:

Do i need 2 ISP connection?

Do i need to direct connection on both router?

Thanks for the help

 

1 Accepted Solution

Accepted Solutions

jalejand
Cisco Employee
Cisco Employee

Hi Jorogan

 

HSRP, VRRP and GLBP are available options on a ISR4k router:

 

Router(config)#int gi0/0/0


Router(config-if)#standby 1 ?
authentication Authentication
follow Name of HSRP group to follow
ip Enable HSRP IPv4 and set the virtual IP address
ipv6 Enable HSRP IPv6
mac-address Virtual MAC address
name Redundancy name string
preempt Overthrow lower priority Active routers
priority Priority level
timers Hello and hold timers
track Priority tracking

 

Router(config-if)#vrrp 1 ?
authentication Authentication string
description Group specific description
ip Enable Virtual Router Redundancy Protocol (VRRP) for IP
name Register unique name with VRRS
preempt Enable preemption of lower priority Master
priority Priority of this VRRP group
shutdown Disable VRRP Configuration
timers Set the VRRP timers
track Event Tracking


Router(config-if)#glbp 1 ?
authentication Authentication method
forwarder Forwarder configuration
ip Enable group and set virtual IP address
ipv6 Enable group for IPv6 and set the virtual IPv6 address
load-balancing Load balancing method
name Redundancy name
preempt Overthrow lower priority designated routers
priority Priority level
timers Adjust GLBP timers
weighting Gateway weighting and tracking

 

You don't really need a dual ISP connection, as FHRPs are meant to be redundancy tools applied to LANs, of course, these can be combined along tracking actions with dual ISP connections, although FHRPs do not strictly require ISPs to work in the first place.

 

No direct connection is needed, HSRP, VRRP and GLBP work through well known multicast addresses flooded through a broadcast domain, a switch in between the routers is good enough to provide Layer 2 connectivity between them, they have to be in the same subnet for HSRP/VRRP/GLBP operation.

 

To configure HSRP you can use the following guide/example:

https://community.cisco.com/t5/networking-documents/hsrp-overview-and-basic-configuration/ta-p/3131590

View solution in original post

4 Replies 4

jalejand
Cisco Employee
Cisco Employee

Hi Jorogan

 

HSRP, VRRP and GLBP are available options on a ISR4k router:

 

Router(config)#int gi0/0/0


Router(config-if)#standby 1 ?
authentication Authentication
follow Name of HSRP group to follow
ip Enable HSRP IPv4 and set the virtual IP address
ipv6 Enable HSRP IPv6
mac-address Virtual MAC address
name Redundancy name string
preempt Overthrow lower priority Active routers
priority Priority level
timers Hello and hold timers
track Priority tracking

 

Router(config-if)#vrrp 1 ?
authentication Authentication string
description Group specific description
ip Enable Virtual Router Redundancy Protocol (VRRP) for IP
name Register unique name with VRRS
preempt Enable preemption of lower priority Master
priority Priority of this VRRP group
shutdown Disable VRRP Configuration
timers Set the VRRP timers
track Event Tracking


Router(config-if)#glbp 1 ?
authentication Authentication method
forwarder Forwarder configuration
ip Enable group and set virtual IP address
ipv6 Enable group for IPv6 and set the virtual IPv6 address
load-balancing Load balancing method
name Redundancy name
preempt Overthrow lower priority designated routers
priority Priority level
timers Adjust GLBP timers
weighting Gateway weighting and tracking

 

You don't really need a dual ISP connection, as FHRPs are meant to be redundancy tools applied to LANs, of course, these can be combined along tracking actions with dual ISP connections, although FHRPs do not strictly require ISPs to work in the first place.

 

No direct connection is needed, HSRP, VRRP and GLBP work through well known multicast addresses flooded through a broadcast domain, a switch in between the routers is good enough to provide Layer 2 connectivity between them, they have to be in the same subnet for HSRP/VRRP/GLBP operation.

 

To configure HSRP you can use the following guide/example:

https://community.cisco.com/t5/networking-documents/hsrp-overview-and-basic-configuration/ta-p/3131590

jorogan
Level 1
Level 1
Thanks for the answer,
follow up question, Do i need the router have a identical configuration? Thanks

Hello,

 

only the parts relating to HSRP, VRRP and GLBP need to be 'identical', that is, they need to 'match' to work together, which in most cases means they are not 100% identical, e.g.:

 

R1

interface GigabitEthernet0/0

ip address 192.168.1.1 255.255.255.0

standby 1 ip 192.168.1.3

standby 1 priority 110

standby 1 preempt

 

R2

interface GigabitEthernet0/0

ip address 192.168.1.2 255.255.255.0

standby 1 ip 192.168.1.3

 

Hi,

If you are talking about the HRSP then there will only two Identical Configuration on each router (One mandatory), try to understand an example:

 

R1 Configuration:

Interface FastEthernet 0/1

no shut

Ip address 192.168.1.1 255.255.255.0    -->Basic Rule, IP address must be Identical in the network (Identical)

standby 1 ip 192.168.1.254   --->                 this is a Virtual IP address. It must be the same in an HSRP group.
standby 1 priority 150 -----> If you want to make a specific router as Active router. (may Identical in a group)
standby 1 preempt

standby 1 authentication HSRP@TEST

 

R2 Configuration

Interface FastEthernet 0/1

no shut

Ip address 192.168.1.2 255.255.255.0    -->Basic Rule, IP address must be Identical in the network (Identical)

standby 1 ip 192.168.1.254 --->                  this is a Virtual IP address. It must be the same in an HSRP group.
standby 1 preempt

standby 1 authentication HSRP@TEST

 

If you are looking at the R2 Router configuration, I didn't configure "standby 1 priority xx" command because I want to use HSRP default priority(100).

 

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!