08-03-2020 07:11 AM
Hello,
is there a way to avoid polarization (sub-optimal use of redundant paths) in case of ECMP and tune (have under control) the load-sharing algorithm?
According the routing configuration guide
"Because the switch or switch stack uses Application Specific Integrated Circuits (ASICs) to achieve Gigabit-speed line rate IP traffic, CEF or dCEF forwarding applies only to the software-forwarding path, that is, traffic that is forwarded by the CPU.”
For me it means the "ip cef load-sharing algorithm..." command is applied only to traffic forwarded by the CPU and not by the UADP ASIC.
Best Regards,
Peter
Solved! Go to Solution.
08-14-2020 02:05 AM - edited 08-14-2020 02:07 AM
Hi Joseph,
thank you for your answer.
I did some basic tests and according the results the CAT9K uses by default
- full hashing inputs (SIP+DIP+Layer4 ports) in case of TCP/UDP traffic.
- default hashing inputs (SIP and DIP only) in case of non TCP/UDP traffic
ToS values were ignored in both scenarios and do not participate in the hashing calculation.
My polarization issue was not related to a hashing algorithm calculation, but to a missing configuration of the following feature
Best Regards,
P.
08-03-2020 10:56 AM
08-14-2020 02:05 AM - edited 08-14-2020 02:07 AM
Hi Joseph,
thank you for your answer.
I did some basic tests and according the results the CAT9K uses by default
- full hashing inputs (SIP+DIP+Layer4 ports) in case of TCP/UDP traffic.
- default hashing inputs (SIP and DIP only) in case of non TCP/UDP traffic
ToS values were ignored in both scenarios and do not participate in the hashing calculation.
My polarization issue was not related to a hashing algorithm calculation, but to a missing configuration of the following feature
Best Regards,
P.
08-14-2020 07:00 AM
10-01-2020 04:20 AM
As per documentation
Per-Destination Load Balancing for CEF Traffic
Per-destination load balancing (default) allows the device to use multiple paths to achieve load sharing across multiple source-destination host pairs. Packets for a given source-destination host pair are guaranteed to take the same path, even if multiple paths are available. Traffic streams destined for different pairs tend to take different paths.
my understanding is UDP/TCP port numbers should not be used for electing output interface. The load-balancing should be done based on SRC/DST IP addresses only. I had no chance to test it but it is not consistent with the test results posted here.Could anyone clarify this?
It looks the behaviour /whatever it is/ cannot be changed.
SUMMARY STEPS
enable
configure terminal
ip cef load-sharing algorithm {original | universal [id] }
end
10-04-2020 11:13 PM
From the same documentation:
"Because the switch or switch stack uses Application Specific Integrated Circuits (ASICs) to achieve Gigabit-speed line rate IP traffic, CEF or dCEF forwarding applies only to the software-forwarding path, that is, traffic that is forwarded by the CPU."
That means, this command does not have any influence on UADP behaviour.
P.
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