The display stp region-configuration command displays the effective configuration of the MST region on the switching device. The configuration includes the region name, revision level and mapping relationship between VLANs and spanning tree instances.
Parameter | Description | Value |
---|---|---|
process process-id | Indicates the ID of an MSTP process. VBST does not support processes. Therefore, this parameter cannot be specified when the spanning tree protocol is VBST. | The value is an integer ranging from 1 to 31. |
digest | Displays brief information about the effective MST region. | - |
Usage Scenario
After an MST region is configured and takes effect on the network running MSTP, you can run the display stp region-configuration command to view the name, revision level, STP instance, and inter-VLAN mapping of the MST region.
If you run this command in the system view without specifying an MSTP process, information about MSTP process 0 is displayed by default.
If you run this command in the MSTP process view without specifying an MSTP process, information about the MSTP process in this view is displayed by default.
For description about MSTP process 0, see stp process.
# Display the configuration of MST regions when STP/RSTP/MSTP is running.
<HUAWEI> display stp region-configuration
Oper configuration
Format selector :0
Region name :huawei
Revision level :0
Instance VLANs Mapped
0 21 to 4094
1 1 to 10
2 11 to 20
<HUAWEI> display stp region-configuration digest
Oper configuration Format selector :0 Region name :huawei Revision level :0 Digest :0xAC36177F50283CD4B83821D8AB26DE62
<HUAWEI> display stp region-configuration
Oper configuration Format selector :0 Region name :00e055539900 Revision level :0 Instance Mode VLANs Mapped 0 default 1 to 9, 11 to 19, 21 to 29, 31 to 39, 41 to 4094 10 static 10 20 static 20 30 static 30 40 static 40
Item |
Description |
---|---|
Format selector |
Selection factors defined by the MSTP protocol. |
Region name |
Name of the MST region. For the related commands, see region-name. |
Revision level |
Revision level of the MST region. For the related commands, see revision-level. |
Instance VLANs Mapped |
Mapping between the spanning tree instance and VLANs of the MST region. For the related commands, see instance or vlan-mapping modulo. If the mapping is incorrect, run the instance command to re-map the specified VLAN to the specified MSTI and run the active region-configuration command to activate the mapping. |
Digest |
Brief information about the MST region. |
Mode |
Mode for the mapping between MSTIs and VLANs:
NOTE:
The mapping between MSTIs and VLANs can be statically configured or dynamically specified. The configuration of instance is static. The system dynamically allocates an instance ID to a new VLAN in ascending order. If an instance ID is statically configured for this VLAN, the statically configured one takes effect. That is, static configuration takes precedence over dynamic configuration. |