3Com S7902E Command Reference Manual - page 426
1-15
[Sysname] interface GigabitEthernet 2/0/1
[Sysname-GigabitEthernet2/0/1] stp disable
stp bpdu-protection
Syntax
stp bpdu-protection
undo stp
bpdu-protection
View
System view
Default Level
2: System level
Parameters
None
Description
Use the
stp bpdu-protection
command to enable the BPDU guard function for the device.
Use the
undo stp bpdu-protection
command to disable the BPDU guard function for the device.
By default, the BPDU guard function is disabled.
Examples
# Enable the BPDU guard function for the device.
[Sysname] stp bpdu-protection
stp bridge-diameter
Syntax
stp bridge-diameter
bridge-number
undo stp
bridge-diameter
View
System view
Default Level
2: System level
Parameters
bridge-number
: Specifies the switched network diameter, in the range of 2 to 7.
Description
Use the
stp bridge-diameter
command to specify the network diameter, namely the maximum possible
number of stations between any two terminal devices on the switched network.