Spanning-Tree Operation
Configuring Rapid Reconfiguration Spanning Tree (RSTP)
Note Executing the spanning-tree command alone enables spanning tree. Executing
the command with one or more of the whole-switch RSTP parameters shown
in the table on the previous page, or with any of the per-port RSTP parameters
shown in the table on page
6-16, does not enable spanning tree. It only
configures the spanning tree parameters, regardless of whether spanning tree
is actually running (enabled) on the switch.
Using this facility, you can completely configure spanning tree the way you
want and then enable it. This method minimizes the impact on the network
operation.
Syntax:
spanning-tree
protocol-version <rstp | stp>
force-version <rstp-operation | stp-compatible>
priority <0 - 15>
maximum-age <6 - 40 seconds>
hello-time <1- 10 seconds>
forward-delay <4 - 30 seconds>
Defaults: See the table on the previous page.
Abbreviations:
span
prot <rstp | stp>
forc <rstp | stp>
pri <0 - 15>
max <6 - 40>
hello <1 - 10>
forw <4 - 30>
Multiple parameters can be included on the same command line. For example,
to configure a maximum-age of 30 seconds and a hello-time of 3 seconds, you
would issue the following command:
HPswitch (config)# span max 30 hello 3
6-15