instance

Use instance to map a list of VLANs to an MSTI.

Use undo instance to remap the specified VLAN or all VLANs to the CIST (MSTI 0).

Syntax

instance instance-id vlan vlan-id-list

undo instance instance-id [ vlan vlan-id-list ]

Default

All VLANs are mapped to the CIST.

Views

MST region view

Predefined user roles

network-admin

Parameters

instance-id: Specifies an MSTI ID in the range of 0 to 4094. A value of 0 represents the CIST. The value range for the instance-id argument is 1 to 4094 for the undo instance command.

vlan vlan-id-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a VLAN or a range of VLANs in the form of vlan-id1 [ to vlan-id2 ]. The value for vlan-id2 must be equal to or greater than the value for vlan-id1. The value range for the vlan-id argument is 1 to 4094.

Usage guidelines


[CAUTION: ]

CAUTION:

Use caution with global Digest Snooping in the following situations:

  • When you modify the VLAN-to-instance mappings.

  • When you restore the default MST region configuration.

  • If the local device has different VLAN-to-instance mappings than its neighboring devices, loops or traffic interruption will occur.


    If you specify no VLAN in the undo instance command, all VLANs mapped to the specified MSTI are remapped to the CIST.

    You cannot map the same VLAN to different MSTIs. If you map a VLAN that has been mapped to an MSTI to a new MSTI, the old mapping is automatically removed.

    You can configure VLAN-to-instance mapping for up to 65 MSTIs.

    After configuring this command, run the active region-configuration command to activate the VLAN-to-instance mapping.

    Examples

    # Map VLAN 2 to MSTI 1.

    <Sysname> system-view
    [Sysname] stp region-configuration
    [Sysname-mst-region] instance 1 vlan 2
    

    Related commands

    active region-configuration

    check region-configuration

    display stp region-configuration