06-18-2018 06:42 AM - edited 03-08-2019 03:23 PM
So if I have 2x Nexus switches joined to a VPC domain 1 and connect a server to both of these switches, would I configured the ports on the switch for the servers to be in another port-channel and another VPC domain let's say vpc 2. These configs look correct:
conf t
int e1/1-2
channel-group 2 mode active
int port-channel 2
vpc domain 2
Solved! Go to Solution.
06-18-2018 08:23 AM
You only need one vPC domain. If your server connects to both switches, you need to put both links in a Portchannel and a vPC.
If your main vPC is vPC 10, you can put the server in vPC 2, but no need for keyword "domain".
Example:
conf t
int e1/1-2
channel-group 2 mode active
int port-channel 2
vpc 2
HTH
06-18-2018 08:23 AM
If i understand you correctly, it shouldn't be necessary to create a new vPC domain. You should be able to simply create another port channel in the same vPC domain.
!
conf t
int e1/1-2
channel-group 2 mode active
int port-channel 2
vpc 2
!
Hope this helps
06-18-2018 08:23 AM
You only need one vPC domain. If your server connects to both switches, you need to put both links in a Portchannel and a vPC.
If your main vPC is vPC 10, you can put the server in vPC 2, but no need for keyword "domain".
Example:
conf t
int e1/1-2
channel-group 2 mode active
int port-channel 2
vpc 2
HTH
06-18-2018 09:28 AM
Is it necessary to join all the ports for the server to VPC? So far I just did the 2 ports I was referring to.
06-18-2018 10:15 AM
Actually when I do the configs you guys stated, I still get:
06-18-2018 11:47 AM
Can you post Po11 config from both switches?
both switches need to have the same exact config
"sh run int po11" from both switches
"sh port-ch summ" from both switches
also, show the physical interfaces belonging to po11 from both switches
example:
sh run int ex/x
HTH
06-18-2018 04:25 PM
Actually the port-channel is up now. Configs are just as noted above.
Is it necessary to join all server ports under a vpc X?
06-18-2018 06:20 PM
Is it necessary to join all server ports under a vpc X?
Only if the server connects to both Nexus switches and also both Nexus switches vPVed together.
HTH
06-19-2018 06:07 AM
Ok thanks. Also, should the two peer-link port-channel between the two VPC peer switches be equally sharing the traffic load as "traffic summary" shows traffic only going through 1 of the ports?
06-19-2018 08:08 AM
Ok thanks. Also, should the two peer-link port-channel between the two VPC peer switches be equally sharing the traffic load as "traffic summary" shows traffic only going through 1 of the ports?
So, it depends. If for example the sharing is based on source/destination MAC address and all traffic is sourcing from one MAC address than that one MAC address will only use one of the links. If there is a second device with a different MAC address, that second device should use the second link in the PO.
Here is a good link on understanding how load sharing works with PO.
https://www.cisco.com/c/en/us/support/docs/lan-switching/etherchannel/12023-4.html
HTH
06-21-2018 01:49 PM - edited 06-21-2018 01:58 PM
Ok so yes the server is connected to both Nexus switches in a VPC domain but the actual ports on the switch that connect to the servers are not configured with VPC, but everything is working fine except for one issue with two interfaces on the server which are connected to ports 1 and 2 on both switches. It is only these 2 ports I tried configuring under a seperate port-channel and with a vpc x config, however if I do a LACP port-channel it goes down, if I just do regular port-channel it will be up, however with both instances, pings to the server host interfaces will drop sometimes.
06-21-2018 02:15 PM
So the VLAN needs to be in the vPC domain and allowed across the peer link. If not, you cannot create a port channel from the server to both Nexus switches.
Hope this helps
06-25-2018 06:06 AM - edited 06-25-2018 06:07 AM
So the VLAN needs to be in the vPC domain and allowed across the peer link. If not, you cannot create a port channel from the server to both Nexus switches.
Yes so the switches are vPC Domain 1and under the server interfaces I configured "vPc 2" and "port-channel 2 active or just port-channel 2".
Peer-link is not pruned and allowing all Vlans. The port-channel is still down with any of these configs.
I think the problem is with the server side and also the fact of them being non-Cisco servers - NetAp.
If I don't have a port-channel and vpc 2 on the server port interfaces on the switch it seems to work but just have packet loss from pings every so often. I will also add the "peer-switch" command under VPC domain config.
Any suggestions what else I should check or do if any?
Any idea what may be wrong?
06-25-2018 06:15 AM
Do you have other vPCs operating or is this the only one?
Can you provide the vPC domain, port channel and port configs as well as identify the Nexus platform?
Thanks
06-25-2018 10:57 AM
Correct there are no other VPC on the ports just this.
Same on both switches except:
-----------
SVI configs
Same on both switches except where noted:
------------------------------------------
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide