< Home

stp region-configuration

Function

The stp region-configuration command displays the MST region view.

The undo stp region-configuration command restores the default configuration of the MST region.

The default parameters of the MST regions are as follows:

  • MST region name: MAC address of the switching device.

  • MSTP revision level 0.

  • VLAN mapping table: all VLANs are mapped to CIST.

Format

stp region-configuration

undo stp region-configuration

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

MSTP divides a switching network into multiple regions, each of which has multiple spanning trees and these spanning trees are independent of each other. Each spanning tree is called a multiple spanning tree instance (MSTI) and each region is called a multiple spanning tree (MST) region.

Two switching devices belong to the same MST region if they have the following parameters the same:
  • MST region name
  • Mappings between VLANs and MSTIs
  • Revision level of the MST region

If the preceding parameters need to be set for the current switching device or the current process, run the stp region-configuration command to enter the MST region view first.

Follow-up Procedure

After the stp region-configuration command is run to enter the MST region view, run the following commands:
  • Run the region-name command to set the MST region name.
  • Run the instance or the vlan-mapping modulo command to set the mappings between VLANs and MSTIs.
  • Run the revision-level name command to set the revision level of the MST region.

After entering the MST region view and setting the preceding parameters, run the active region-configuration command to activate the configurations of the MST region.

Example

# Enter the MST region view.

<HUAWEI> system-view
[HUAWEI] stp region-configuration
[HUAWEI-mst-region]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >