H3C Technologies H3C S7500E Series Switches User Manual
Page 194
13-42
The STP priority of an ONU port is fixed to 0. To ensure the network operates normally, do not
configure the ONU as the STP root bridge.
When STP is enabled globally on an OLT switch, you must enable STP on all ONUs.
STP runs normally only when all attached ONUs are 3Com ONUs.
STP configurations in the system view of the OLT switch take effect on all attached ONUs.
An ONU port supports only MSTI 0 among all MSTIs. Therefore, the MST region configuration on
the OLT switch does not take effect on the attached ONUs.
Follow these steps to configure MSTP for an ONU port:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter ONU port view
interface interface-type
interface-number
Required
In Ethernet port view, the configuration
mentioned below takes effect on the
current port only.
Configure the maximum
transmission rate of the port
stp transmit-limit
packet-number
Optional
10 by default
Configure the port as an
edge port
stp
edged-port enable
Required
By default, no port is an edge port.
Configure the path cost of
the port
stp cost cost
Optional
By default, MSTP automatically calculates
the path cost of each port.
Configure the link type of the
port
stp point-to-point
{ auto |
force-false
| force-true }
Optional
The default setting is auto; namely the
device automatically detects whether an
Ethernet port connects to a point-to-point
link.
Enable the MSTP feature for
the port
stp
enable
Optional
Enabled by default.
Perform mCheck
stp mcheck
Required
Enable digest snooping on
the port
stp config-digest-snooping
Required
Disabled by default