beautypg.com

Setting the spanning tree mode – H3C Technologies H3C SecPath F1000-E User Manual

Page 110

background image

85

Task Remarks

Configuring the port priority

Optional.

Configuring the port link type

Optional.

Configuring the mode a port uses to recognize/send
MSTP packets

Optional.

Enabling the spanning tree feature

Required.

Performing mCheck

Optional.

Configuring Digest Snooping

Optional.

Configuring No Agreement Check

Optional.

Configuring protection functions

Optional.

NOTE:

The spanning tree configurations are mutually exclusive with any of the following functions on a port:
service loopback, RRPP, Smart Link, and BPDU tunnel.

The spanning tree configurations made in system view take effect globally. Configurations made in
Ethernet interface view take effect on the current interface only. Configurations made in Layer 2

aggregate interface view take effect only on the aggregate interface. Configurations made on an

aggregation member port can take effect only after the port is removed from the aggregation group.

After you enable a spanning tree protocol on a Layer 2 aggregate interface, the system performs
spanning tree calculation on the Layer 2 aggregate interface but not on the aggregation member ports.

The spanning tree protocol enable state and forwarding state of each selected member port is consistent

with those of the corresponding Layer 2 aggregate interface.

Though the member ports of an aggregation group do not participate in spanning tree calculation, the
ports still reserve its spanning tree configurations for participating spanning tree calculation after

leaving the aggregation group.

Setting the spanning tree mode

The spanning tree modes include:

STP-compatible mode—The device sends out STP BPDUs through all ports.

RSTP mode—The device sends out RSTP BPDUs through all ports, and ports that connect to STP
devices automatically transitions to the STP-compatible mode.

MSTP mode—The device sends out MSTP BPDUs through all ports, and ports that connect to STP
devices automatically transitions to the STP-compatible mode.

To set the spanning tree mode:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Set the spanning tree mode.

stp mode { stp | rstp | mstp }

MSTP mode by default.