Friday, June 12, 2015

Cisco Nexus: Dual 7K And 5K Double Sided vPC Configuration

I have been working on a data center change of equipment for a customer here recently.  One of the things we are doing is replacing the Cisco 6500s and putting in Nexus 7Ks, along with 5Ks and FEXs.  The purpose of this post is to show how to configure the vPC between dual 7Ks and dual 5Ks.  I did a lot of research on this topic, and there appears to be more than one way to do this.  However, from what I could tell, the best way, in my situation, was to configure one vPC for all connections involved.  Here is the topology that we have put in:

One difference is that I have multiple connections to each device.  So I will have multiple ports on each device for the single virtual port-channel in this case.
Also note:  I have confirmed that the domain ID for the 7Ks has to be a different ID number than on the 5Ks.  So, in my case, the 7Ks have a domain ID of 10.  My 5Ks have a domain ID of 5.  

Here is the config template I wrote up to get this going:

On each 7K:
interface port-channel50
  description vPC50-7k-5k
  switchport
  switchport mode trunk
  speed 10000
vpc 50

interface Ethernet3/5
  description *** To 5K-5 ***
  switchport mode trunk
  speed 10000
  channel-group 50 mode active
  no shutdown

interface Ethernet4/5
  description *** To 5K-5 ***
  switchport mode trunk
  speed 10000
  channel-group 50 mode active
  no shutdown

interface Ethernet3/6
  description *** To 5K-6 ***
  switchport mode trunk
  speed 10000
  channel-group 50 mode active
  no shutdown

interface Ethernet4/6
  description *** To 5K-6 ***
  switchport mode trunk
  speed 10000
  channel-group 50 mode active
  no shutdown


On each 5K:
interface port-channel50
  description vPC50-7k-5k
  switchport
  switchport mode trunk
  speed 10000
vpc 50

interface Ethernet1/7
  description *** To 7K-1 ***
  switchport mode trunk
  speed 10000
  channel-group 50 mode active
  no shutdown

interface Ethernet1/8
  description *** To 7K-1 ***
  switchport mode trunk
  speed 10000
  channel-group 50 mode active
  no shutdown

interface Ethernet1/9
  description *** To 7K-2 ***
  switchport mode trunk
  speed 10000
  channel-group 50 mode active
  no shutdown

interface Ethernet1/10
  description *** To 7K-2 ***
  switchport mode trunk
  speed 10000
  channel-group 50 mode active
  no shutdown



3 comments:

  1. Can you post your full config. It would be really helpful.

    ReplyDelete
  2. Thanks for your post. Would this work if the top switches were 9Ks instead of 7Ks?
    Cheers!

    ReplyDelete
    Replies
    1. I would think so, let me get my hands on some 9ks and I'll check it. Give me some time on it.

      Delete

Your comment will be reviewed for approval. Thank you for submitting your comments.