90
[Sysname-Ethernet1/1] stp transmit-limit 5
vlan-mapping modulo
Use
vlan-mapping modulo
to map VLANs in the MST region to MSTIs according to the specified
modulo value, quickly creating a VLAN-to-instance mapping table.
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 in the range of 1 to 15.
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
•
region-name
•
revision-level
•
display stp region-configuration
•
check
region-configuration
•
active
region-configuration