< Home

region-name

Function

The region-name command configures the MST region name of the switching device.

The undo region-name command restores the default name.

By default, the MST region name is the MAC address of the bridge MAC of the switching device.

Format

region-name name

undo region-name

Parameters

Parameter Description Value
name Specifies the region name of the switching device.

The value is a case-sensitive string of 1 to 32 characters without spaces.

NOTE:

When double quotation marks are used around the string, spaces are allowed in the string.

Views

MST region 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 that are independent of each other. Each spanning tree is called an MSTI and each region is called an MST region.

Two switching devices belong to the same MST region only when they have the following same configurations:
  • MST region name
  • Mappings between MSTIs and VLANs
  • MST region revision level

The region-name command is used to configure MST region names in order to identify different regions.

VBST does not support regions. Therefore, this command does not take effect when the spanning tree protocol is VBST.

Follow-up Procedure

After configuring MST region parameters, run the active region-configuration command to activate the MST region configurations.

Precautions

If an MST region name is changed several times, only the last configuration activated using the active region-configuration command takes effect.

Example

# Set the MST region name of the switch to "huawei".

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