Command Manual - STP
Quidway S3500 Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-36
1.1.39 vlan-mapping modulo
Syntax
vlan-mapping modulo
modulo
View
MST region view
Parameter
modulo
: Specifies the modulus, ranging from 1 to 16.
Description
Using
vlan-mapping modulo
command, you can map a VLAN list to an STI.
By default, all the VLANs are mapped to CIST, namely Instance 0.
MSTP describes the association between VLANs and STIs with the VLAN mapping
table. You can use this command to configure this table. Every VLAN can be mapped to
an STI as per your configuration.
A VLAN cannot be mapped to different MSTI at the same time. The latter configured
association will replace the former one.
The
vlan-mapping modulo
modulo
command designates VLAN for every STI fast. It
maps the VLAN to an STI whose ID is (VLAN ID-1)%
modulo
+1. (Note: (VLAN ID-1)
%
modulo
performs modulo operation on (VLAN ID-1). Taking the operation modulo 16
as an example, vlan 1 maps to MSTI 1, vlan 2 maps to MSTI2 ...vlan 16 maps to
MSTI16, vlan 17 maps to MSTI 1, and so on.)
For the related command, see
region-name, revision-level, display configuration,
active configuration,
.
Example
# Map VLAN to STI modulo 16.
[Quidway-mst-region] vlan-mapping modulo 16