[Example]
Set the LAN port #1 link type to "shared."
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#spanning-tree link-type shared
6.3.7 Set interface BPDU filtering
[Syntax]
spanning-tree
bpdu-filter
filter
no
spanning-tree
bpdu-filter
[Parameter]
filter
:
BPDU filtering operation
Setting value
Description
enable
Enables BPDU filtering
disable
Disables BPDU filtering
[Initial value]
spanning-tree bpdu-filter disable
[Input mode]
interface mode
[Description]
Sets BPDU filtering 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.
[Example]
Enable BPDU filtering for LAN port #1.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#spanning-tree bpdu-filter enable
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.
174
| Command Reference | Layer 2 functions