629
Description Use the vlan-mapping modulo command to map VLANs in the current MST
region to MST instances according to the specified modulo value.
By default, all VLANs are mapped to the CIST (instance 0).
You cannot map the same VLAN to different MST instances. If you map a VLAN
that has been mapped to an instance to a new instance, the old mapping will be
automatically removed.
nBy using the vlan-mapping modulo command, you can quickly specify a VLAN
for each MST instance. This command maps each VLAN to the MST instance
whose ID is (VLAN ID-1) %modulo + 1, where (VLAN ID-1) %modulo is the
modulo operation for (VLAN ID-1). If the modulo value is 15, for example, then
VLAN 1 will be mapped to MSTI 1, VLAN 2 to MSTI 2, VLAN 16 to MSTI 1, VLAN
17 to MSTI 2, and so on.
Related commands: region-name, revision-level, check region-configuration, and active
region-configuration.
Examples # Map VLANs to MSTIs as per the modulo value of 8.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region] vlan-mapping modulo 8