R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)

51
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
limit: Sets the BPDU transmission rate in the range of 1 to 255.
Usage guidelines
The maximum number of BPDUs a port can send within each hello time equals the BPDU transmission
rate plus the hello timer value.
A larger BPDU transmission rate value requires more system resources. An appropriate BPDU
transmission rate setting can prevent spanning tree protocols from using excessive bandwidth resources
during network topology changes. HP recommends that you use the default value.
When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only the interface.
Examples
# Set the BPDU transmission rate of port GigabitEthernet 2/1/1 to 5.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] stp transmit-limit 5
stp vlan enable
Use stp vlan enable to enable the spanning tree feature for VLANs.
Use undo stp enable to disable the spanning tree feature for VLANs.
Syntax
stp vlan vlan-id-list enable
undo stp vlan vlan-id-list enable
Default
The status of the spanning tree feature in VLANs is enabled.
Views
System view
Predefined user roles
network-admin
Parameters
vlan vlan-id-list: Specifies VLANs by a VLAN ID list. They are in the format of vlan-id-list = { vlan-id [ to
vlan-id ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 vlan-id [ to vlan-id ]
parameters. The value range for the vlan-id argument is 1 to 4094. If you do not specify this option, this
command globally enables or disables the spanning tree feature (VLANs are not included).
Usage guidelines
When you enable the spanning tree feature, the device operates in STP, RSTP, PVST, or MSTP mode,
depending on the spanning tree mode setting.