Jump to content
Toggle menu
  • 51 articles
  • 24 files
  • 4 users
  • 750 edits
Tech-Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

VRRP and HSRP

From Tech-Wiki


Reference examples for first-hop redundancy with HSRP and VRRP on Cisco IOS/IOS XE.

ⓘ
Validation status
Modernised on 27 September 2026. The old examples contained a shared plaintext authentication string and dated interface syntax.
!
Do not copy plaintext shared authentication
The original page used the password cisco in VRRP and HSRP examples. If authentication is required, use the mechanism supported by the exact platform/release and an organisation-approved secret.

HSRP

>_Router A
interface GigabitEthernet0/0
 ip address 192.0.2.1 255.255.255.0
 standby 10 ip 192.0.2.254
 standby 10 priority 110
 standby 10 preempt
>_Router B
interface GigabitEthernet0/0
 ip address 192.0.2.2 255.255.255.0
 standby 10 ip 192.0.2.254
 standby 10 preempt

VRRP

>_Router A
interface GigabitEthernet0/0
 ip address 198.51.100.1 255.255.255.0
 vrrp 10 ip 198.51.100.254
 vrrp 10 priority 110
>_Router B
interface GigabitEthernet0/0
 ip address 198.51.100.2 255.255.255.0
 vrrp 10 ip 198.51.100.254

Operational checks

Verify active/standby state, timers, tracking and failover behaviour on the target platform before relying on the configuration for production resilience.

Supporting reference