SONiC ECN Issues and Query

220 views
Skip to first unread message

Jit Gupta

unread,
Jun 30, 2021, 7:24:20 PM6/30/21
to sonicproject
Hello everyone,

I am facing some issues and queries regarding ECN on SONiC and was wondering if there is anyone else who has faced something similar. I tried to set up WRED in SONiC, and followed the steps enlisted here to check if that works. https://github.com/Azure/sonic-mgmt/blob/master/docs/testplan/QoS-configuration-in-Config-DB.-ECN-WRED-configuration-utility-test-plan.md. Now all the commands shown in this document to verify, works for me. I have also checked the port status and it shows WRED active. Now the issues I have right now are:
  • When I write the command ecnconfig -q 3 on -vv to activate ECN, it only shows Enable ECN on  queue 3, but the actual output is supposed to be as per documentation: Enable ECN on Ethernet0,Ethernet8 queue 3. Also  when we run the command ecnconfig -q 3, we were getting the error message: ECN status: Exception caught:  list index out of range. I want to know why it is still showing this, while the port status shows WRED activated.
  • To validate the ECN, WRED has predefined three classes. RED, GREEN and Yellow. And the ECN threshold can be set for each of them separately. I would like to know how to classify any incoming traffic into any of these 3 classes, that remains unclear to me.
  • Also is there a way to limit the data rate on each port?
I do not know if this is the right place for these queries but I have searching for online resources and haven't found anything that has worked for me till now. Hope someone can help me with this.

Best,
Jit Gupta,
Temple University
Philadelphia, USA.
Reply all
Reply to author
Forward
0 new messages