Vlan-Mapping Modulo - HP A5830 Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

Example
# Set the maximum transmission rate of port GigabitEthernet 1/0/1 to 5.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp transmit-limit 5

vlan-mapping modulo

Description
Use the vlan-mapping modulo command to map VLANs in the MST region to MSTIs according to the
specified modulo value, quickly creating a VLAN-to-instance mapping table.
By default, all VLANs are mapped to the CIST (MSTI 0).
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.
Related commands: region-name, revision-level, display stp region-configuration, check region-
configuration, and active region-configuration.
Syntax
vlan-mapping modulo modulo
View
MST region view
Default level
2: System level
Parameter
modulo: Sets the modulo value, in the range of 1 to 31.
Example
# Map VLANs to MSTIs as per modulo 8.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region] vlan-mapping modulo 8
139

Advertisement

Table of Contents
loading

Table of Contents