set protocols spanning-tree interface enable
The set protocols spanning-tree interface enable command can be used to enable or disable spanning tree protocol on a specific interface.
The delete protocols spanning-tree interface enable command deletes the configuration.
Command Syntax
set protocols spanning-tree interface <interface-name> enable <true | false>
delete protocols spanning-tree interface <interface-name> enable
Parameters
Parameter | Description |
interface <interface-name> | Specifies the interface name. The value is a physical port or an LAG port. |
enable <true | false> | Enable or disable spanning tree protocol on a specific interface. The value could be true or false.
By default, spanning tree protocol is enabled. |
Example
- Disable spanning tree protocol on interface te-1/1/7.
admin@PICOS# set protocols spanning-tree interface te-1/1/7 enable false admin@PICOS# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.