R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
89
[Sysname] stp region-configuration
[Sysname-mst-region] revision-level 5
stp bpdu-protection
Syntax
stp bpdu-protection
undo stp bpdu-protection
View
System view
Default level
2: System level
Parameters
None
Description
Use stp bpdu-protection to enable the BPDU guard function.
Use undo stp bpdu-protection to disable the BPDU guard function.
By default, the BPDU guard function is disabled.
Examples
# Enable the BPDU guard function.
<Sysname> system-view
[Sysname] stp bpdu-protection
stp bridge-diameter
Syntax
stp bridge-diameter diameter
undo stp bridge-diameter
View
System view
Default level
2: System level
Parameters
diameter: Specifies the switched network diameter, ranging from 2 to 7.
Description
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.
By default, the network diameter of the switched network is 7.