R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
62
• instance
• region-name
• vlan-mapping modulo
stp bpdu-protection
Use stp bpdu-protection to enable the BPDU guard function.
Use undo stp bpdu-protection to disable the BPDU guard function.
Syntax
stp bpdu-protection
undo stp bpdu-protection
Default
The BPDU guard function is disabled.
Views
System view
Default command level
2: System level
Examples
# Enable the BPDU guard function.
<Sysname> system-view
[Sysname] stp bpdu-protection
stp bridge-diameter
Use stp bridge-diameter to specify the network diameter, the maximum possible number of stations
between any two terminal devices on the switched network.
Use undo stp bridge-diameter to restore the default.
Syntax
stp bridge-diameter diameter
undo stp bridge-diameter
Default
The network diameter of the switched network is 7.
Views
System view
Default command level
2: System level
Parameters
diameter: Specifies the switched network diameter in the range of 2 to 7.