R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
85
Syntax
vlan-mapping modulo modulo
Default
All VLANs are mapped to the CIST (MSTI 0).
Views
MST region view
Default command level
2: System level
Parameters
modulo: Sets the modulo value. The value range for this argument is 1 to 31.
Usage guidelines
You cannot map a VLAN to different MSTIs. If you map a VLAN that has been mapped to an MSTI to a
new MSTI, the old mapping will be automatically removed.
This command maps each VLAN to the MSTI 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 15 to MSTI 15, VLAN 16 to MSTI 1, and
so on.
Examples
# Map VLANs to MSTIs as per modulo 8.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region] vlan-mapping modulo 8
Related commands
• active region-configuration
• check region-configuration
• display stp region-configuration
• region-name
• revision-level