CLI Commands
Use the following commands to configure a Spanning Tree bridge port:
- To set the priority of the bridge port, (configure)# set port spantree priority <mod-swport-range> [...,<mod-swport-range>] <bport-priority> {802.1D | vlan {<vlan-id> | name <vlan-name>}
- To set the path cost for the bridge port, (configure)# set spantree portcost <mod-swport-range> [...,<mod-swport-range>] <port-cost-value> {802.1D | vlan {<vlan-id> | name <vlan-name>}}
- To force the bridge port to send one RSTP BPDU out the port, (configure)# set port spantree force-protocol-migration <mod-swport-range> [...,<mod-swport-range>] {802.1D | vlan {<vlan-id> | name <vlan-name>}}