608CHAPTER 38: MSTP CONFIGURATION COMMANDS

Configured in system view, the setting is effective for the device globally; configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all the ports in the port group.

To control MSTP flexibly, you can disable the MSTP feature for certain ports so that they will not take part in spanning tree computing and thus to save the device’s CPU resources.

After you enable MSTP, the device determines whether to work in STP-compatible mode, in RSTP mode or in MSTP mode according to your MSTP work mode setting. After MSTP is disabled, the device becomes a transparent bridge.

After being enabled, MSTP dynamically maintains spanning tree status of the corresponding VLANs based the received configuration BPDUs. After being disabled, it stops maintaining the spanning tree status.

Refer to “Link Aggregation Configuration Commands” on page 473 for information about port groups.

Related commands: stp mode.

Examples # Enable the MSTP feature globally.

<Sysname> system-view

[Sysname] stp enable

# Disable MSTP on port Ethernet 1/1.

<Sysname> system-view

[Sysname] interface ethernet 1/1

[Sysname-Ethernet1/1] stp disable

stp bpdu-protection

Syntax stp bpdu-protection

undo stp bpdu-protection

View System view

Parameters None

Description Use the stp bpdu-protectioncommand to enable the BPDU guard function for the device.

Use the undo stp bpdu-protectioncommand to disable the BPDU guard function for the device.

By default, the BPDU guard function is disabled.

Examples # Enable the BPDU guard function for the device.

Page 608
Image 608
3Com MSR 30, MSR 50 manual Stp bpdu-protection, Related commands stp mode, Examples # Enable the Mstp feature globally