Enabling The Spanning Tree Feature; Enabling The Spanning Tree Feature In Stp/Rstp/Mstp Mode; Enabling The Spanning Tree Feature In Pvst Mode - H3C S7500E-X Configuration Manual

Layer 2 lan switching
Hide thumbs Also See for H3C S7500E-X:
Table of Contents

Advertisement

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. In STP, RSTP, or MSTP mode, make sure the spanning tree feature is
enabled globally and on the desired ports. In PVST mode, make sure the spanning tree feature is
enabled globally, in the desired VLANs, and on the desired ports.
To exclude specific ports from spanning tree calculation and save CPU resources, disable the
spanning tree feature for these ports with the undo stp enable command. Make sure no loops occur
in the network after you disable the spanning tree feature on these ports.
Enabling the spanning tree feature in STP/RSTP/MSTP
mode
Step
Enter system view.
1.
Enable the spanning tree
2.
feature.
Enter Layer 2 Ethernet or
3.
aggregate interface view.
(Optional.) Enable the
4.
spanning tree feature for the
port.

Enabling the spanning tree feature in PVST mode

Step
Enter system view.
1.
Enable the spanning tree
2.
feature.
Enable the spanning tree
3.
feature in VLANs.
Enter Layer 2 Ethernet or
4.
aggregate interface view.
Enable the spanning tree
5.
feature on the port.
Command
system-view
In STP/RSTP mode:
stp port-log instance 0
In PVST mode:
stp port-log vlan vlan-id-list
In MSTP mode:
stp port-log { all | instance
instance-list }
Command
system-view
stp global enable
interface interface-type
interface-number
stp enable
Command
system-view
stp global enable
stp vlan vlan-id-list enable
interface interface-type
interface-number
stp enable
87
Remarks
N/A
By default, this feature is
enabled.
Remarks
N/A
By default, the spanning tree
feature is disabled globally.
N/A
By default, the spanning tree
feature is enabled on all ports.
Remarks
N/A
By default, the spanning tree
feature is disabled globally.
By default, the spanning tree
feature is enabled in VLANs.
N/A
By default, the spanning tree
feature is enabled on all ports.

Advertisement

Table of Contents
loading

Table of Contents