How to configure load balancing hash for a port channel in sonic 202106

217 views
Skip to first unread message

Prasanna Mohanty

unread,
Sep 12, 2022, 10:55:36 AM9/12/22
to sonicp...@googlegroups.com

Hello,

I am using a sonic image based on 202106 on a marvell-arm64 platform. I have configured a port channel with four member links.

 

With default sonic configuration, a random IP data stream with random src and destination ip addresses,

when played out using tcpreplay, does display the streams being  load balanced among the four member links.

The out put of the "show interface counter" does display uniform counts for the four members of the port channel.

 

However I see that our other non sonic switches have a cli command as below

----

  port-channel load-balance {src-mac | dest-mac | src-dest-mac| src-ip | dest-ip

| src-dest-ip} [ <port-channel-index(1-65535)>]

----

to do load balancing based on attributes such as src-mac or dest-mac etc.

 

What is the attribute used for load balancing hash in sonic?

Is there any cli to change the attribute/hash for doing load balancing based on src-mac, dest-mac … etc as above?

 

Thanks

Prasanna Mohanty

 

Reply all
Reply to author
Forward
0 new messages