Inquiry Regarding the Status of STP in SONiC

377 views
Skip to first unread message

Suzain Smith

unread,
Jun 21, 2023, 8:03:07 AM6/21/23
to sonicp...@googlegroups.com

Hi All,

I am currently using the community version of SONiC and I am experiencing an issue with L2 loops. I managed to resolve this problem by manually avoiding the loop, but I believe that a better solution would be to utilize STP. However, I am uncertain about the status of STP support in SONiC. I have observed that there has been considerable work done on STP/PVST in the SONiC’s STP repository. Nonetheless, I am still unsure about the CLI configuration for STP/PVST in SONiC.

Could anyone provide guidance with this matter?

Regards,
Suzain

Adam Yeung

unread,
Jun 21, 2023, 4:41:44 PM6/21/23
to Suzain Smith, sonicp...@googlegroups.com
Hi Suzain

Pls reference the HLD below 


PVST was added in 2020 via code PR #20

Thanks
Adam 








--
You received this message because you are subscribed to the Google Groups "sonicproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonicproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonicproject/CAJw_87gpAh4X9kP18p%2B1%3DwZNT5%3DsarRRfz4cP%2BVG8uUUYQyQTw%40mail.gmail.com.

This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.

Suzain Smith

unread,
Jun 22, 2023, 9:23:11 AM6/22/23
to Adam Yeung, sonicp...@googlegroups.com
Hey Adam,

Thank you for your help.

I am not able to run the commands mentioned in the HLD. I'm not sure what I might be missing or if there are any additional steps I need to follow.

I would greatly appreciate it if you could provide some guidance to configure these STP/PVST commands.

Regards,
Suzain

Adam Yeung

unread,
Jun 22, 2023, 6:07:41 PM6/22/23
to Suzain Smith, sonicp...@googlegroups.com
Please raise a ticket at 


Share info about the build, setup, config and steps

Thanks
Adam 


Suzain Smith

unread,
Jun 23, 2023, 7:30:54 AM6/23/23
to Adam Yeung, sonicp...@googlegroups.com

I am using sonic-vs image version 202205. Please find attached a screenshot showing that the SONiC STP container is not running.

After enquiring a bit more on STP, I have learned that there are some unmerged PRs that may be required for the configurations to function properly.

These PRs are as follows:
https://github.com/sonic-net/sonic-buildimage/pull/3463

https://github.com/sonic-net/sonic-utilities/pull/648

https://github.com/sonic-net/sonic-swss/pull/1058

I would greatly appreciate it if you could provide an update on the status of these PRs or if I am still missing some steps in configuration so that I can raise an issue as per your suggestion.

Regards,
Suzain

STP-container.png

Julian Chang

unread,
Jun 23, 2023, 8:13:47 AM6/23/23
to Suzain Smith, Adam Yeung, sonicp...@googlegroups.com
Hi, Suzain:

You have to merge those unmerged PRs and build sonic-vs image by yourself. It is not a configuration issue.

Regards,

Julian

Suzain Smith <suzains...@gmail.com> 於 2023年6月23日 下午7:30 寫道:



Suzain Smith

unread,
Jun 23, 2023, 8:41:29 AM6/23/23
to Julian Chang, sonicp...@googlegroups.com
Hi Julain,

Actually I am new to SONiC, I am unfamiliar with the process of merging PRs and building vs image. Since I am not the owner of these PRs, I would appreciate your guidance on how to proceed with merging them and building the image.

Thanks,
Suzain
Reply all
Reply to author
Forward
0 new messages