cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
432
Views
0
Helpful
2
Replies

vPC Port Channel Load Balancing Issue – Inconsistent Output Interface

elahe
Level 1
Level 1

Dear community members,

I have a pair of switches configured as a single Port Channel using vPC. However, I am facing an issue where packets from the same flow (same source/destination IP and port) arriving at each switch are being forwarded through different output interfaces while the configuration is consistent (load balancing by src-dst ip-l4port with symmetric option and a same rotate value). For example:

  • Switch 1 forwards the traffic with same ip and port via Ethernet1

  • Switch 2 forwards the traffic with same ip and port via Ethernet3

This behavior is not desirable in my scenario. I need each flow, even if its packets arrive at different switches from outside of my network, to always exit through the same interface to ensure a consistent path within my network.

Since both switches use the same PO hashing algorithm (ip-l4port with the same rotate value), I suspect the port-channel internal dynamic load balancing might be influencing this behavior but I could not find any documentation on it. Could this be the root cause? Is there anyway I can ensure that each flow follows a single egress path? (I tried fixed hash distribution too. It could not solve the issue.)

Any guidance or best practices for handling this situation would be greatly appreciated.

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

Is this vPC you are mentioning between switches vPC or end device?

What is an end device? Does this end device also do a matching algorithm?

Check some best practices and suggestions :

https://www.cisco.com/c/dam/en/us/td/docs/switches/datacenter/sw/design/vpc_design/vpc_best_practices_design_guide.pdf

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Its between switches