CLI Command
Use the following CLI commands to configure a spanning tree bridge:
- To enable or disable Spanning Tree, (configure)# set spantree {enable | disable} {802.1D | vlan {<vlan-id> | name <vlan-name>}}
- To set the priority of the bridge, (configure)# set spantree priority <priority-value> {802.1D | vlan {<vlan-id> | name <vlan-name>}}
- To set the maximum age for the bridge, (configure)# set spantree maxage <maxage-value> {802.1D | vlan {<vlan-id> | name <vlan-name>}}
- To set the hello time for the bridge, (configure)# set spantree hello <hellotime-value> {802.1D | vlan {<vlan-id> | name <vlan-name>}}
- To set the forward delay for the bridge, (configure)# set spantree fwddelay <fwddelay-value> {802.1D | vlan {<vlan-id> | name <vlan-name>}}
- To set the hold count for the bridge, (configure)# set spantree hold-count <hold-count-value> {802.1D | vlan {<vlan-id> | name <vlan-name>}}
- To set the default path costs for the bridge, (configure)# set spantree default-path-cost {common-spanning-tree | rapid-spanning-tree} {802.1D | vlan {<vlan-id> | name <vlan-name>}}
- To view the current configuration and status of the bridge, > show spantree {all | 802.1D | vlan {<vlan-id> | name <vlan-name>}}
|
|