-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The question about gre protocol type supported by SONiC #1131
Comments
After investigating, I found that the root cause seems to be the value of "queue" in json file.
If "queue" is set to "5", no matter what the gre type is 0x6558 or 0x88be Broadcom SAI will return "SAI_STATUS_ATTR_NOT_SUPPORTED_0".
If "queue" is set to "0", the test is passed no matter what the gre type is 0x6558 or 0x88be. We also observed the code in orchagent/mirrororch.cpp. The content is shown as below.
Maybe it can explan why Broadcom returned "SAI_STATUS_ATTR_NOT_SUPPORTED_0". Hi @stcheng, Thanks for your help. |
Could you pl try by removing the 'queue' entry in mirror session. |
moving away from 0x6558; we're using 8949 and 88be for now. |
Hi Folks, Curious if this has actually been fixed - can we expect to be able to do GRE (0x6558) encapsulated Everflow monitoring on SONiC? Or, going forward, will only ERSPAN (0x88be) be supported? Cheers, --Andrew |
- [acl-loader] Revert fix for IP protocol == 0 (#1142) - Show sflow interface to display all interfaces enabled for sflow (#1143) - [sflow_test.py]: tests for config sflow commands. (#1112) - [config/console] Support add/del console port setting commands (#1136) - [cli][bgp]use vtysh in the show ip bgp summary command (#1137) - [README.md] Describe new package creation schema (#1131) - [consutil] Remove actual baud and refactor lib for future change (#1130) Signed-off-by: Danny Allen <daall@microsoft.com>
…t#5545) - [acl-loader] Revert fix for IP protocol == 0 (sonic-net#1142) - Show sflow interface to display all interfaces enabled for sflow (sonic-net#1143) - [sflow_test.py]: tests for config sflow commands. (sonic-net#1112) - [config/console] Support add/del console port setting commands (sonic-net#1136) - [cli][bgp]use vtysh in the show ip bgp summary command (sonic-net#1137) - [README.md] Describe new package creation schema (sonic-net#1131) - [consutil] Remove actual baud and refactor lib for future change (sonic-net#1130) Signed-off-by: Danny Allen <daall@microsoft.com>
* [README.md] Describe new package creation schema
Description
I have tested two gre protocol type (0x6558, 0x88be) in mirror session, and found that only 0x88be is passed and 0x6558 failed. The error message is due to
SAI_STATUS_ATTR_NOT_SUPPORTED_0
.(Please see the detail attached to below section)
My question is that does SONiC support gre type 0x6558 or shoud use 0x88be in mirror?
I saw that the gre type 0x6558 is used in below link.
https://github.com/Azure/sonic-swss/blob/master/swssconfig/sample/mirror.json
PS:
Steps to reproduce the issue:
Describe the results you received:
The below is the error message printed in the syslog
Describe the results you expected:
Pass
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: