cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
857
Views
0
Helpful
5
Replies

Hsrp on two cat3750 routed port facing Nexus router with HSRP

joshualuna12
Level 1
Level 1

Hi there,

 

I want to have HSRP configured in my two cat 3750 routed port, the routed ports are connected to two Nexus router also running HSRP.

 

Is it possible with this kind of set up?

 

I tried configuring HSRP on each router port of the L3 switch, but when i tried running "sh standby" or "sh standby brief" both are in "Active State". what connection should  I have between switches to make HSRP work on routed ports.

 

server (vlan 10) -----------------Switch 1 and switch 2  

                            

Server (vlan 20)------------------Switch 1 and switch 2                      Switch 1(hsrp)----------------Nexus1 (hsrp)

                                                                                                             Switch 2(hsrp)----------------Nexus2 (hsrp)

Server (vlan 30)-----------------Switch 1 and switch 2  

 

My goal is to use 3750 as layer 2 for the servers and layer 3 when uplink going to router with hsrp on switches facing hsrp on nexus.

 

IP's

x.x.x.0/29 -----network

x.x.x.1 -------VIP nexus

x.x.x.2 -------Nexus 1 ip

x.x.x.3 -------Nexus 2 ip

x.x.x.4 -------Switch 3750 VIP

x.x.x.2 -------Switch 1 ip

x.x.x.3 -------Switch 2 ip

x.x.x.5 ----broadcast address

 

Note: I only handle the configuration for the two 3750 switches. 

 

5 Replies 5

Ruben Cocheno
Spotlight
Spotlight

keep in mind that to use hsrp you need have the same layer 2 domain across switches. So you need to have a switchport interface at some point, unless if have a switch stack and VPC on Nexus you can do a L3 Port-channel

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/

I tried trunking between two switches. Still both Active in HSRP, and Standby router is unknown

you are missing something, can you post the config from both switches?

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/

@ Switch-1
!
interface FastEthernet0/1

switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/2
no switchport
ip address 1.1.1.2 255.255.255.0
duplex auto
speed auto
standby version 2
standby 1 ip 1.1.1.1
standby 1 priority 110
!

Sw-1(config)#
Sw-1#
%SYS-5-CONFIG_I: Configured from console by console

Sw-1#
Sw-1#
Sw-1#sh stand
FastEthernet0/2 - Group 1 (version 2)
State is Active
4 state changes, last state change 00:05:28
Virtual IP address is 1.1.1.1
Active virtual MAC address is 0000.0C9F.F001
Local virtual MAC address is 0000.0C9F.F001 (v2 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 2.946 secs
Preemption disabled
Active router is local
Standby router is unknown
Priority 110 (configured 110)
Group name is hsrp-Fa0/2-1 (default)
Sw-1#

@Switch-2

!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/2
no switchport
ip address 1.1.1.3 255.255.255.0
duplex auto
speed auto
standby version 2
standby 1 ip 1.1.1.1
!
interface FastEthernet0/3

Sw-2#sh stand
FastEthernet0/2 - Group 1 (version 2)
State is Active
4 state changes, last state change 00:05:29
Virtual IP address is 1.1.1.1
Active virtual MAC address is 0000.0C9F.F001
Local virtual MAC address is 0000.0C9F.F001 (v2 default)
Hello time 3 sec, hold time 10 sec
Next hello sent in 2.669 secs
Preemption disabled
Active router is local
Standby router is unknown
Priority 100 (default 100)
Group name is hsrp-Fa0/2-1 (default)
Sw-2#


Both fa0/2 of switches are directly connected to nexus router (HSRP)

 

with that config you are isolating both switches.

Use config below:

@Switch-1

vlan 2000

name INTER_NEXUS

interface vl2000
ip address 1.1.1.2 255.255.255.0
duplex auto
speed auto
standby version 2
standby 1 ip 1.1.1.1
standby 1 priority 110

interface FastEthernet0/2

switchport

switchport mode access

switchport access vl 2000

switchport spann portfast

spann portfast bpduguard enable

 

 

@Switch-2

!

vlan 2000

name INTER_NEXUS
interface vl2000

ip address 1.1.1.3 255.255.255.0
duplex auto
speed auto
standby version 2
standby 1 ip 1.1.1.1

interface FastEthernet0/2

switchport

switchport mode access

switchport access vl 2000

switchport spann portfast

spann portfast bpduguard enable

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco