beautypg.com

28 spanning-tree port-priority, 27 spanning-tree port-priority -114 – PLANET WGSW-52040 User Manual

Page 345

background image

19-114

Function:

Set the current port as boundary port, and BPDU filter、BPDU guard as specified mode or default mode; the

command “no spanning-tree portfast” sets the current port as non-boundary port.

Parameter:

bpdufilter: configure the border port mode as BPDU filter

bpduguard: configure the border port mode as BPDU guard

recovery: configure the border port can be recovered automatically after implement bpduguard violation operation

<30-3600>: the recovery time, do not recover it by default

Command mode:

Port Mode

Default:

All the ports are non-boundary ports by default when enabling MSTP.

Usage Guide:

When a port is set to be a boundary port, the port converts its status from discarding to forwarding without bearing

forward delay. Once the boundary port receives the BPDU, the port becomes a non-boundary port.

Example:

Configure the border port mode as BPDU guard, the recovery time as 60s.

Switch(config)#interface ethernet 1/2

Switch(Config-If-Ethernet1/2)#spanning-tree portfast bpduguard recovery 60

Switch(Config-If-Ethernet1/2)#

19.1.28 spanning-tree port-priority

Command:

spanning-tree port-priority

no spanning-tree port-priority

Function:

Set the port priority; the command “no spanning-tree port-priority” restores the default setting.

Parameter: