25 spanning-tree portfast, 26 spanning-tree port-priority, 25 spanning-tree portfast -114 – PLANET XGS3-24042 User Manual

Page 268: 26 spanning-tree port-priority -114

Advertising
background image

14-114

Switch(config)#interface ethernet 1/0/2

Switch(Config-If-Ethernet1/0/2)#spanning-tree mst 0 rootguard

Switch(Config-If-Ethernet1/0/2)#

14.1.25 spanning-tree portfast

Command:

spanning-tree portfast [bpdufilter | bpduguard] [recovery <30-3600>]

no spanning-tree portfast

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/0/2

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

Switch(Config-If-Ethernet1/0/2)#

14.1.26 spanning-tree port-priority

Command:

spanning-tree port-priority <port-priority>

no spanning-tree port-priority

Advertising