12.
Spanning Tree Protocol (STP)
MN700004 Rev 01
116
to the
spanning-tree interface all
command in Protocol Configuration mode. See also
Displaying Port Spanning-Tree Topology Settings.
Command Syntax
device-name
(config-if
UU/SS/PP
)#
spanning-tree all
Example
device-name
(config-if 1/1/1)#
spanning-tree all
============================================================================
Port |Pri|State|PCost | DCost |Designated bridge |DPrt |FwrdT|DtctTc
--------+---+-----+------+-----------+------------------+------+-----+------
--
01/01/01 128 listn 19 19 32768.00A012000003 128.01 2 Disabled
01/01/17 128 block 19 0 32768.000002030405 128.63 0 Enabled
01/01/19 128 listn 19 0 32768.000002030405 128.62 2 Enabled
spanning-tree path-cost
The
spanning-tree path-cost
command, in Interface Configuration mode, sets the STP port
path-cost for the configured interface. The
no
form of this command resets the default path-
cost value of 10.
Command Syntax
device-name(config-if UU/SS/PP)#
spanning-tree path-cost <
1-200000000
>
device-name(config-if UU/SS/PP)#
no spanning-tree path-cost
Argument Description
<1-200000000>
STP path-cost value assigned to the configured interface.
spanning-tree priority
The
spanning-tree priority
command, in Interface Configuration mode, sets the STP priority
for the configured interface. The
no
form of this command resets the default priority value of
128.
Command Syntax
device-name(config-if UU/SS/PP)
#
spanning-tree priority <
0-255
>
device-name(config-if UU/SS/PP)#
no spanning-tree priority
Argument Description
<0-255>
STP priority value assigned to the configured interface.
spanning-tree defaults
The
spanning-tree defaults
command, in Interface Configuration mode, restores the STP
parameters to their defaults for the configured interface.