
77
Syntax
stp
pathcost
-
standard
{
dot1d-1998
|
dot1t
|
legacy
}
undo
stp pathcost-standard
Default
The default standard used by the device is
legacy
.
Views
System view
Default command level
2: System level
Parameters
dot1d-1998
: Configures the device to calculate the default path cost for ports based on IEEE
802.1d-1998.
dot1t
: Configures the device to calculate the default path cost for ports based on IEEE 802.1t.
legacy
: Configures the device to calculate the default path cost for ports based on a private
standard.
Usage guidelines
If you change the standard that the device uses in calculating the default path costs, you restore the
path costs to the default.
Examples
# Configure the device to calculate the default path cost for ports based on IEEE 802.1d-1998.
<Sysname> system-view
[Sysname] stp pathcost-standard dot1d-1998
Related commands
•
stp
cost
•
display
stp
stp point-to-point
Use
stp point-to-point
to configure the link type of the ports.
Use
undo stp point-to-point
to restore the default.
Syntax
stp point-to-point
{
auto
|
force-false
|
force-true
}
undo stp point-to-point
Default
The default setting is
auto
and the spanning tree device automatically detects whether a port
connects to a point-to-point link.
Views
Ethernet interface view, port group view, Layer 2 aggregate interface view
Default command level
2: System level