
66
Examples
# Configure the spanning tree device to work in STP-compatible mode.
<Sysname> system-view
[Sysname] stp mode stp
stp no-agreement-check
Syntax
stp no-agreement-check
undo stp no-agreement-check
View
Ethernet interface view, WLAN mesh interface view
Default level
2: System level
Parameters
None
Description
Use
stp no-agreement-check
to enable No Agreement Check on the ports.
Use
undo stp no-agreement-check
to disable No Agreement Check on the ports.
By default, No Agreement Check is disabled.
This feature takes effect only after you enable it on the root port.
Examples
# Enable No Agreement Check on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp no-agreement-check
stp pathcost-standard
Syntax
stp
pathcost
-
standard
{
dot1d-1998
|
dot1t
|
legacy
}
undo
stp pathcost-standard
View
System view
Default level
2: System level
Parameters
dot1d-1998
: Configures the device to calculate the default path cost for ports based on IEEE
802.1d-1998.