Enabling the spanning tree protocol in pvst mode, Performing mcheck – H3C Technologies H3C S12500 Series Switches User Manual

Page 98

Advertising
background image

85

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable the spanning tree feature
globally.

stp enable

By default, the spanning tree
feature is globally enabled.

3.

Enter interface view or port group

view.

Enter Ethernet interface view
or Layer 2 aggregate

interface view:

interface interface-type
interface-number

Enter port group view:

port-group manual
port-group-name

Use either command.

4.

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 protocol in PVST mode

In the PVST mode, make sure the spanning tree feature is enabled globally and on the desired VLANs
and ports.
To enable the spanning tree protocol in PVST mode:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable the spanning tree feature

globally.

stp enable

By default, the spanning tree
feature is globally enabled.

3.

Enable the spanning tree feature for

the desired VLANs.

stp vlan vlan-list enable

By default, PVST is enabled for
all VLANs.

4.

Enter interface view or port group
view.

Enter Ethernet interface view

or Layer 2 aggregate
interface view:

interface interface-type

interface-number

Enter port group view:

port-group manual

port-group-name

Use either command.

5.

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.

Performing mCheck

If a port on a device running MSTP, RSTP, or PVST connects to an STP device, this port will automatically

transit to the STP mode. However, it cannot automatically transit back to the original mode when:

The STP device is shut down or removed.

Advertising
This manual is related to the following products: