Step
Enter interface view or
2.
port group view.
Configure the mode
3.
that the port uses to
recognize/send MSTP
packets.
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
Enter system view.
1.
Enable outputting port
2.
state transition
information.
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.
Configuration restrictions and guidelines
•
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.
•
In PVST mode, when you globally enable the spanning tree feature the device automatically
enables the spanning tree feature for the first n (which is the number of PVST instances that the
switch supports and is 16 for the HPE 3100 v2 switch) of the existing VLANs by default. To
enable the spanning tree feature for other VLANs, you must first disable the spanning tree
feature for certain VLANs. This guideline does not apply if the number of existing VLANs on the
switch does not exceed n.
Command
•
Enter Layer 2 Ethernet interface view or
Layer 2 aggregate interface view:
interface interface-type interface-number
•
Enter port group view:
port-group manual port-group-name
stp compliance { auto | dot1s | legacy }
Command
system-view
•
In STP/RSTP mode:
stp port-log instance 0
•
In PVST mode:
stp port-log vlan vlan-list
•
In MSTP mode:
stp port-log instance { instance-id |
all }
77
Remarks
Use one of the
commands.
auto by default.
Remarks
N/A
Use one of the commands.
Enabled by default.