Command Manual - STP
Quidway S6500 Series Ethernet Switches Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-37
Parameter
packetnum: Specifies the amount limit to the transmitted packets, ranging from 1 to 255
(expressed as a counter value without any units). By default, the value is 3.
Description
Using stp transmit-limit command, you can configure an amount limit to the
configuration BPDU transmitted via a port during the Hello Time. Using undo stp
transmit-limit command, you can restore the default limit.
The larger the value is, the more packets can be transmitted in a time unit, yet the more
switch resources will be occupied. With a moderate value, the amount of the BPDUs
transmitted during Hello Time via every port can be limited and MSTP will not occupy
too many bandwidth resources when the network topology flaps.
For the related command, see stp interface transmit-limit.
Example
# Set a limit of 5 to the packets transmitted via Ethernet2/0/1.
[Quidway-Ethernet2/0/1] stp transmit-limit 5
1.1.41 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