No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
instance

instance

Function

The instance command maps a VLAN to a spanning tree instance.

The undo instance command deletes the mapping between a VLAN and a spanning tree instance.

By default, all VLANs are mapped to CIST, that is, instance 0.

Format

instance instance-id vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>

undo instance instance-id [ vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> ]

Parameters

Parameter Description Value
instance-id Specifies the number of a spanning tree instance. The value is an integer ranging from 0 to 4094. Value 0 refers to CIST.
vlan vlan-id1 Specifies a start VLAN ID. The value is an integer ranging from 1 to 4094. The start VLAN ID must be smaller than the end VLAN ID.
to vlan-id2 Specifies an end VLAN ID. The value is an integer that ranges from 1 to 4094.

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 instance command is used to set mappings between spanning tree instances and VLANs.

Precautions

When using the undo instance command, note the following points:

  • After the mapping between specified VLANs and a specified spanning tree instance is deleted, these VLANs will be mapped to a CIST, namely, instance 0.

  • If no VLAN is specified, all VLANs that have established mappings with the spanning tree instance will be mapped to a CIST.

A VLAN cannot be mapped to different spanning tree instances. If the instance command is run several times, the latest configuration overrides the previous one.

Example

# Map VLAN 2 to spanning tree instance 1.

<Huawei> system-view
[Huawei] stp region-configuration
[Huawei-mst-region] instance 1 vlan 2
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 208376

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next