Useful commands for Cisco Nexus zoning


After implementing Cisco Nexus 5ks that include native Fibre Channel switching for shops that usually don’t have dedicated SAN guys, I’m often called up sometime later to offer a refresher on how to add zones. I usually share this tidbit via email, but here it is for the internets. These commands are very similar on newer MDS models, as well.

Useful commands for Cisco Nexus zoning

Advertisements

Integrating Cisco MDS 9124 switches with Nexus 5500s


I wanted to take a short minute and document the addition of a few Cisco MDS 9124s to our test lab at work. The purpose of the addition in the test lab is just to show the functioning and capabilities of the devices to work together. See my previous post on configuring native FC over a Nexus 5548 and 5596. The FC-specific portions of the MDS config are very similar to the Nexus line. Here’s what the middle state looks like. I haven’t taken the time to move the NetApp FC links to the MDS switches yet (or the UCS FC links instead), but the port provisioning process will be similar to those already documented in this post and the Nexus post. The Visio of what’s configured is below followed by my MDS configuration notes.

Read the rest of this entry »


Cisco Nexus Fibre Channel configuration template


I recently had the opportunity to configure native fibre channel in my test lab at work using Nexus 55xx series switches and Cisco’s UCS. What I’ll do in this post is to share my templatized fibre channel configuration in a somewhat ordered way, at least from the Nexus point of view. This test lab was configured with the attitude that it should show off the capabilities of the hardware and software. Concepts included in this initial configuration include NPIV, NPV, SAN port-channels, F_Port trunking, VSANs, device aliases, and of course, standard FC concepts like zones and zonesets.

Let me first share the end-state as of today, what I’ll call Phase I. I’ll explain what my initial plan was for Phase I and, after learning a bit more, what I plan to do for Phase II.  Please feel free to correct me in the comments below – I made a lot of mistakes configuring this and I wouldn’t be surprised if there’re a few more in there.

Read the rest of this entry »


How to configure SPAN on a Nexus 55xx


I’ve recently needed to configure SPAN a couple times in the lab at work to troubleshoot somespan issues – or at least to see what I could see.  It wasn’t exactly glamorous work, but somebody had to do it.  Now, I had to look it up the first time because it had probably been a good year since I’d done it.  The document I used is here.  Well, the second time I needed to configure SPAN was shortly after the first.  I was annoyed that I had to look at the same document and skip over all the paragraphs to get to the commands, then sort out the FC ports and other commands I didn’t need.  So for my benefit, and perhaps yours, here’s my short and sweet version of how to configure SPAN on a Nexus 5k.

Read the rest of this entry »


My OTV Take


After my recent DFW VMUG presentation where I spoke on the topic, a friend emailed me and asked what I thought about OTV.

“You mentioned that you were against OTV. Curious on your take on this, as we are using it across two datacenters using N7K, UCS, NetApp and VMware.”

I’d like to share my response to him here.

Please don’t get me wrong.  If one is forced to implement a Layer 2 Data Center Interconnect (DCI), OTV is probably the best solution.  Sometimes, L2 connectivity between data centers is a functional requirement – perhaps even a constraint.  In these cases, one should look at the benefits and risks of implementing an L2 DCI and then make an informed decision on whether they should continue with such a deployment.  Should they choose to deploy OTV, someone needs to accept the risks associated with OTV in its current implementation.

Read the rest of this entry »


Typical ESXi host-facing switchport configs


I was troubleshooting a production issue a couple days ago that led me to request the switchport configs from our Networking team of our ESXi 5.0 hosts that pass virtual machine traffic. Here’s a snippet of what they came back with for two particular ports:


interface GigabitEthernet1/5
description -=R910 ESX# 1 – Front Side=-
switchport mode trunk
end


interface GigabitEthernet1/6
description -=R910 ESX# 1 – Front Side=-
end

Well. Not only do I see our problem (no config *at all* on one port!), but I see something else that troubles me. Our ESXi host-facing ports are only configured as trunk ports. Absolutely* nothing* else. Well, this just won’t do.

Read the rest of this entry »


Yet another way to create peer keepalive link between Nexus 5ks


During two previous implementations, I’ve configured the peer keepalive between two Nexus 5020s as most folks have seen it done: each mgmt0 interface connected to a management network, passing both day-to-day management traffic and peer keepalive traffic. Something like this:


Read the rest of this entry »