EasyManua.ls Logo

H3C S5120-EI Series - Enabling the MSTP Feature

H3C S5120-EI Series
1166 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1-27
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
MSTIs or a particular MSTI
stp port-log { all | instance
instance-id }
Optional
This function is enabled by
default.
Enabling the MSTP Feature
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
or Layer-2
aggregate
interface view
interface
interface-type
interface-number
Enter
interface view
or port group
view
Enter port
group view
port-group manual
port-group-name
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.
Enable the MSTP feature for the
port(s)
stp enable
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.
z You must enable MSTP for the device before any other MSTP-related configuration can take
effect.
z 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

Table of Contents

Other manuals for H3C S5120-EI Series

Related product manuals