Enabling the spanning tree feature, Enabling the spanning tree feature (in pvst mode) – H3C Technologies H3C S10500 Series Switches User Manual

Page 100

Advertising
background image

89

To do...

Use the command...

Remarks

Enable output of port state transition
information (in MSTP mode)

stp port-log instance { instance-id |
all }

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.

Enabling the spanning tree feature (in STP/RSTP/MSTP mode)

In STP/RSTP/MSTP mode, make sure that the spanning tree feature is enabled globally and on the

desired ports.
Follow these steps to enable the spanning tree feature in STP/RSTP/MSTP mode:

To do...

Use the command...

Remarks

Enter system view

system-view

Enable the spanning tree feature globally

stp enable

Required
Use either command.
By default, the spanning tree
feature is disabled globally.

Enter Layer 2 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.

Enable the spanning tree feature for the port
or group of ports

stp enable

Optional
By default, the spanning tree
feature is enabled for all ports.

Enabling the spanning tree feature (in PVST mode)

In PVST mode, make sure that the spanning tree feature is enabled globally and on the desired VLANs

and ports.
Follow these steps to enable the spanning tree feature in PVST mode:

To do...

Use the command...

Remarks

Enter system view

system-view

Globally enable the spanning tree feature

stp enable

Required
By default, the spanning tree

feature is disabled globally.

Enable the spanning tree feature on specific
VLANs

stp vlan vlan-list enable

Required
By default, the spanning tree
feature is enabled on VLANs.

Enter
interface

view or port

Enter Layer 2 Ethernet
interface view or Layer 2

aggregate interface view

interface interface-type
interface-number

Required
Use either command.

Advertising