Skip to content
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

RSTP port enable/disable #41

Closed
embeddman opened this issue Mar 3, 2020 · 2 comments
Closed

RSTP port enable/disable #41

embeddman opened this issue Mar 3, 2020 · 2 comments

Comments

@embeddman
Copy link

Hi!
In sysfs it has ability to turn on/off port in RSTP via /sys/class/net/eth0/sw0/0_stp_on. But it works strange. For example, if there's link on a port, to turn off the port from RSTP via sending 0 to 0_stp_on works, but until reconnecting the port, the next time it's working again. Is it possible to turn on/off port in RSTP permanently, not until link changing?

@triha2work
Copy link
Collaborator

It was not designed to remove the port from RSTP participation. You can use the driver parameter "stp" for that purpose. "stp=1" means all ports; "stp=3" means ports 1 and 2.

@embeddman
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants