R2511-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V5)
63
Step Command Remarks
3. Configure the mode that the
port uses to recognize/send
MSTP packets.
stp compliance { auto | dot1s | legacy } The default setting is auto.
Enabling outputting port state transition information
In a large-scale spanning tree network, you can enable devices to output the port state transition
information of all MSTIs or the specified MSTI in order to monitor the port states in real time.
To enable outputting port state transition information:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enable outputting port state
transition information.
• In STP/RSTP mode:
stp port-log instance 0
• In MSTP mode:
stp port-log instance { instance-id |
all }
Use one of the commands.
By default, this function is
disabled.
Enabling the spanning tree feature
You must enable the spanning tree feature for the device before any other spanning tree related
configurations can take effect. You can disable the spanning tree feature for certain ports with the undo
stp enable command to exclude them from spanning tree calculation and save CPU resources of the
device.
Make sure that the spanning tree feature is enabled globally and on the desired ports.
To enable the spanning tree feature:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enable the spanning tree
feature globally.
stp enable
By default, the spanning tree
feature is disabled globally.
3. Enter interface view or port
group view.
• Enter Ethernet interface view or
Layer 2 aggregate interface view:
interface interface-type
interface-number
• Enter port group view:
port-group manual
port-group-name
Use one of the commands.
4. Enable the spanning tree
feature for the port or group
of ports.
stp enable
Optional.
By default, the spanning tree
feature is enabled on all ports.










