cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5694
Views
5
Helpful
3
Replies

Help Configuring Nexus 5548 Pair for VLAN Routing

Hello,

I currently have two Nexus 5548UP switches in my environment running the

latest code (n5000-uk9.5.1.3.N1.1a.bin).  Both of these switches are

connected via a VPC Peer Link (two ports on each switch in an Ether

Channel) and a VPC-Keep Alive Link (a dedicated port).  Hosts connect to

each switch via a VPC for both IPV4 and FCOE.

As of right now, everything works.  I currently have a stack of two 3750

switches that each Nexus is connected to.  This stack is doing all the

Intra-VLAN Layer 3 Routing for the Nexus Switches.  However, I plan to

get rid of the 3750s, and move the Layer 3 Routing the Nexus 5548's, so

the backplane is 10 Gig instead of 1 Gig..  I have the Layer 3 Daughter

Card installed in both switches, as well as the LAN_BASE license.

So, at the moment, I am trying to find the best way to accomplish Layer

3 Routing on these two switches. Since the Nexus switches are not

stacked, and the FCOE portion of HA is taking care of by the

Multipathing agent on each host, I believe am just concerned with

providing Intra-VLAN routing in an HA build where if one switch goes

down, VLANs still route through the other switch.

Again, since the Nexus switches are not stacked, I am guessing the best

way to handle this is with HSRP, but my experience with that has always

been with routers that have a switch in the middle.  Can I make HSRP

work without having a switch between the Nexus switches?  Can I track

the VPC peer link, or how do I do it?  I guess I am looking for a sample

config.

Let's pretend I had two VLANs:

VLAN 20:

10.20.20.254 - GW and 10.20.20.0/24

VLAN 40

10.40.40.254 - GW and 10.40.40.0/24

And I wanted the Nexus switches to route these VLANs regardless of which

switch was up / down... what's the best way to accomplish that?

I've attached my current configs (scrubbed, of course) to help.

Thanks!

- Grant

1 Accepted Solution

Accepted Solutions

Oleksandr Nesterov
Cisco Employee
Cisco Employee

Hi

two n5k in vc can easily run hsrp without any intermediate swiitch. Basically both n5k are switches with SVI's, so hsrp will be established between svi's.

this will look like:

n5k1==vpc(hsrp)==n5k2

As for routing - you can add "peer-gateway" on both n5k which will enable them route packets destined to neighbor's router mac.

Both n5k upon receiving frame destined to mac address of supervisor (router engine) of it's peer (this also includes hsrp mac)

I think this ocument will be helpful:

http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/operations/n5k_L3_w_vpc_5500platform.html#wp1003537

HTH,

Alex

View solution in original post

3 Replies 3

Oleksandr Nesterov
Cisco Employee
Cisco Employee

Hi

two n5k in vc can easily run hsrp without any intermediate swiitch. Basically both n5k are switches with SVI's, so hsrp will be established between svi's.

this will look like:

n5k1==vpc(hsrp)==n5k2

As for routing - you can add "peer-gateway" on both n5k which will enable them route packets destined to neighbor's router mac.

Both n5k upon receiving frame destined to mac address of supervisor (router engine) of it's peer (this also includes hsrp mac)

I think this ocument will be helpful:

http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/operations/n5k_L3_w_vpc_5500platform.html#wp1003537

HTH,

Alex

Thank you!  That was what I was looking for.

I'm hapy that was able to answer you to your questions.

have a great day.

Regards,

Alex

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