H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – MSTP
H3C S7500E Series Ethernet Switches Chapter 1 MSTP Configuration
1-33
II. Configuration example
# Configure GigabitEthernet 2/0/1 to receive and send standard-format MSTP packets.
<Sysname> system-view
[Sysname] interface GigabitEthernet 2/0/1
[Sysname-GigabitEthernet2/0/1] stp compliance dot1s
1.3.13 Enabling the Output of Port State Transition Information
In a large-scale, MSTP-enabled network, there are a large number of MSTP instances,
so ports may frequently transition from one state to another. In this situation, you can
enable the device to output the port state transition information of all MSTP instances or
the specified MSTP instance so as to monitor the port states in real time.
Follow these steps to enable output of port state transition information:
To do... Use the command... Remarks
Enter system view
system-view
—
Enable output of port state
transition information of all
instances or a particular instance
stp port-log { all |
instance
instance-id }
Optional
Enabled by default
1.3.14 Enabling the MSTP Feature
I. Configuration procedure
Follow these steps to enable the MSTP feature:
To do... Use the command... Remarks
Enter system view
system-view
—
Enable the MSTP feature
for the device
stp enable
Required
Disabled by default
Enter
Ethernet
interface
view
interface interface-type
interface-number
Enter
Ethernet
interface
view or port
group view
Enter port
group view
port-group { manual
port-group-name |
aggregation agg-id }
Required
Use either command.
Configurations made in
Ethernet interface view
will take effect on the
current port only;
configurations made in
port group view will take
effect on all ports in the
port group.