User Manual

6.3.8 Set interface BPDU guard
[Syntax]
spanning-tree bpdu-guard guard
no spanning-tree bpdu-guard
[Parameter]
guard : BPDU guard operation
Setting value Description
enable Enables BPDU guard
disable Disables BPDU guard
[Initial value]
spanning-tree bpdu-guard disable
[Input mode]
interface mode
[Description]
Sets BPDU guard for the applicable interface.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
This command can be specified only for LAN/SFP+ port and logical interface.
It is not possible to specify this command for a LAN/SFP+ port that is associated to a logical interface.
If a LAN/SFP+ port is associated with a logical interface, the setting of this command for the corresponding LAN/SFP+ port
returns to the default.
If a LAN/SFP+ port is shutdown by BPDU guard, it can be brought back by executing the no shutdown command for that
interface.
If a logical interface is shutdown by BPDU guard, it can be brought back by executing the shutdown command for that
interface and then executing the no shutdown command.
[Example]
Enable BPDU guard for LAN port #1.
SWP2(config)#interface port1.1
SWP2(config-if)#spanning-tree bpdu-guard enable
6.3.9 Set interface path cost
[Syntax]
spanning-tree path-cost path-cost
no spanning-tree path-cost
[Parameter]
path-cost : <1-200000000>
Path cost value
[Initial value]
Use the following values according to the link speed of the interface.
Link speed Path cost value
1000Mbps 20000
100Mbps 200000
10Mbps 2000000
For a logical interface, the path cost value is calculated based on totaling the link speed of each associated LAN/SFP+ port.
172 | Command Reference | Layer 2 functions