Enabling The Mstp Feature - H3C S5120-EI Series Operation Manual

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Follow these steps to enable output of port state transition information:
To do...
Enter system view
Enable output of port state
transition information of all
MSTIs or a particular MSTI

Enabling the MSTP Feature

Configuration procedure
Follow these steps to enable the MSTP feature:
To do...
Enter system view
Enable the MSTP feature for the
device
Enter
interface view
or port group
view
Enable the MSTP feature for the
port(s)
You must enable MSTP for the device before any other MSTP-related configuration can take
effect.
To control MSTP flexibly, you can use the undo stp enable command to disable the MSTP feature
for certain ports so that they will not take part in spanning tree calculation and thus to save the
device's CPU resources.
Configuration example
# Enable MSTP globally and disable MSTP for port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] stp enable
[Sysname] interface gigabitethernet 1/0/1
Use the command...
system-view
stp port-log { all | instance
instance-id }
Use the command...
system-view
stp enable
Enter Ethernet
interface view
interface
or Layer-2
interface-type
aggregate
interface-number
interface view
Enter port
port-group manual
group view
port-group-name
stp enable
Required
Disabled by default.
Required
Use either command.
Configurations made in 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.
Optional
By default, MSTP is enabled on all
ports.
Even though MSTP is enabled on all
ports by default, it does not take effect.
To have it take effect, you must enable
MSTP globally in system view.
1-27
Remarks
Optional
This function is enabled by
default.
Remarks

Advertisement

Chapters

Table of Contents
loading

Table of Contents