Skip to content
QK FIBERSystems Send a project enquiry
Reference library

Configuring HSRP on a Dual-Core Layer 3 Switch Example

Published
  • Configuring
  • Hsrp
  • Dual-Core
Source context

AI source overview

HSRP can be configured on dual-core Layer 3 switches to provide first-hop redundancy using virtual IP addresses, priority settings, and preemption for seamless failover.

Overview

Hot Standby Router Protocol (HSRP) allows two or more Layer 3 switches to present a single virtual router to hosts on a LAN, ensuring high availability of the default gateway. One switch acts as the active router, while the other acts as standby. If the active switch fails, the standby automatically takes over, minimizing downtime.

Basic Configuration Steps

Enable Layer 3 on the switch interface Convert the interface to a routed port if it is a physical port:interface GigabitEthernet1/0/1 no switchport ip address 10. 10. 10.

2 255. 255. 255.

0 For VLAN interfaces (SVIs):interface vlan 10 ip address 10. 10. 10.

2 255. 255. 255.

0 Configure HSRP on the interface Example for VLAN 10 on SW1 (active for this VLAN):standby 10 ip 10. 10. 10.

1standby 10 priority 110standby 10 preemptstandby 10 preempt delay minimum 60standby 10 authentication md5 key-string cisco@#123standby 10 timers msec 100 msec 300standby version 2 On SW2 (standby for VLAN 10):interface vlan 10 ip address 10. 10. 10.

3 255. 255. 255.

0 standby 10 ip 10. 10. 10.

1 standby 10 priority 95 standby 10 preempt standby 10 authentication md5 key-string cisco@#123 standby 10 timers msec 100 msec 300 standby version 2 Repeat for multiple VLANs Assign different HSRP groups for each VLAN. For example, SW1 can be active for VLANs 10, 12, 14, while SW2 is active for VLANs 11, 13, 15.

Verify HSR

P statusshow standby brief This command displays the active and standby routers, HSRP group numbers, and virtual IP addresses.

Best Practices

Use HSRPv2 for IPv4 and IPv6; HSRPv1 and HSRPv2 are mutually exclusive. Ensure Layer 2 connectivity between switches for HSRP to function; a routed-only Layer 3 link without VLAN trunking may prevent HSRP communication. Preemption delay can prevent flapping during switch reloads.

Track interfaces to adjust HSRP priority dynamically if a critical interface goes down. Use unique HSRP group numbers for each VLAN, typically in multiples of 256 for HSRPv2. Example TopologySW1: Active for VLANs 10, 12, 14SW2: Active for VLANs 11, 13, 15Trunk links between SW1 and SW2 to carry all VLANsVirtual IPs assigned per VLAN as default gateways for hosts This configuration ensures that if SW1 fails, SW2 takes over the active role for its VLANs, maintaining uninterrupted network connectivity.

Research context

Reference summary

FHRP Configuration Guide The switch supports Multiple HSRP (MHSRP), an extension of HSRP that enables load sharing across multiple HSRP groups. Configure M.

From reference to enquiry

Questions for your project

Use these editorial prompts alongside the linked excerpts. They identify items to confirm for your project.

Technical notes

Illustrative equipment image

FHRP Configuration Guide

The switch supports Multiple HSRP (MHSRP), an extension of HSRP that enables load sharing across multiple HSRP groups. Configure MHSRP to achieve load

Configuring HSRP

Configuring HSRP This chapter describes how to use Hot Standby Router Protocol (HSRP) to provide routing redundancy for routing IP traffic without being dependent on the availability of any single router.

Networking Fundamentals: Configuring HSRP with Layer 3 Switching

Modern campus network designs routinely place HSRP-configured Layer 3 switches at the distribution or core layer, where they serve as default gateways for multiple VLANs simultaneously while

HSRP Version 2 Configuration on Cisco Switch for Multiple VLANs

In this post, we covered the configuration of HSRP on Cisco switches for multiple VLANs. By implementing HSRP, you can enhance the reliability of your network and ensure continuous

How To Configure HSRP on Layer 3 Switch In Packet Tracer

In this demonstration, we will configure HSRP on the two layer 3 switches so that the hosts residing on the 192.168.1.0/24 subnetwork can use the two layer 3 switches as their redundant

Cisco Router HSRP Configuration – Two Examples

In this article we will discuss two different network scenarios where HSRP can be used to provide redundancy between two paths from an internal LAN network towards the outside world (WAN or

Networking Basics: How to Configure HSRP with L3 Switching

Hot Standby Router Protocol (HSRP) is an automatic backup system for Cisco systems. Learn how to set up standby groups, configure timers, read an HSRP MAC address, and enable

mahetabmuhamed/HSRP_L3_Switches

This project demonstrates the design and configuration of a redundant Layer 3 network using: HSRP (Hot Standby Router Protocol) for gateway redundancy. Inter-VLAN Routing on multilayer switches.

HSRP on Distribution Layer L3 Switches

I''m trying to configure HSRP on 2 L3 distribution layer switches and I''m confused as to what best practice is. I''m using Cisco''s high availability campus guidelines and this is the topology

Configuring HSRP and VRRP

When HSRP is configured on an interface, Internet Control Message Protocol (ICMP) redirect messages are automatically enabled for the interface. You can configure multiple Hot Standby groups among

Configuring HSRP

When you configure an HSRP group for IPv6, HSRP generates a link-local address from the link-local prefix. HSRP also generates a modified EUI-64 format interface identifier in which the EUI-64

How to Configure HSRP (Hot Standby Router Protocol) on Cisco Switches

Configuring Hot Standby Router Protocol (HSRP) on Cisco switches allows you to provide high availability and redundancy for network services like default gateways. Here''s a step-by

Configuring HSRP

HSRP-group-name [routing-redundancy] global configuration command to enable the same HSRP standby group to be used for command switch and routing redundancy. If you create a cluster with

L3 Switching: HSRP Configuration

Jeremy''s got four steps for configuring HSRP on your gateways — distribution-layer, internet-connected, or backup. With your gateways HSRP-configured, your routers will be backed up in the

Consolidated Platform Configuration Guide, Cisco IOS 15.2 (6)E

Use the cluster standby-group HSRP-group-name [routing-redundancy] global configuration command to enable the same HSRP standby group to be used for command switch

Configuring HSRP and VRRP

Configuring HSRP and VRRP This chapter describes how to use Hot Standby Router Protocol (HSRP) to provide routing redundancy for routing IP traffic not dependent on the availability of any single

How to configure HSRP between two Layer3 switches with no trunk

I have 2 Cisco 6509 MultiLayer Switches. I have no Layer 2 trunk between them. They are connected over a Layer 3 etherchannel. I configured a vlan with HSRP on both switches but

Configuring HSRP and VRRP

Configuring HSRP and VRRP This chapter describes how to use Hot Standby Router Protocol (HSRP) on the Catalyst 3750-X or 3560-X switch to provide routing redundancy for routing IP traffic without

Related Video Reference

This video was associated with the source search result. Verify technical details against current product documentation and project requirements.

Share your network requirements

Share the fiber interfaces, termination capacity, cable route and evidence required for handover.

Send a project brief