beautypg.com

9 spanning-tree port-priority, 10 spanning-tree portfast, Syntax – Planet Technology WGSW-48040 User Manual

Page 289: Default configuration, Command modes, User guidelines, Example

background image

User’s Manual of WGSW-24020/WGSW-48040

-28

Console(config)# interface ethernet e5

Console(config-if)# spanning-tree cost 35000

5.21.9 spanning-tree port-priority

The spanning-tree port-priority interface configuration command configures port priority. To reset the default port priority, use

the no form of this command.

Syntax

spanning-tree port-priority priority

no spanning-tree port-priority

ƒ

priority — The port priority. (Range: 0 - 240 in multiples of 16)

Default Configuration

The default port-priority for IEEE STP is 128.

Command Modes

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

There are no user guidelines for this command.

Example

The following example configures the spanning priority on e5 to 96.

Console(config)# interface ethernet e5

Console(config-if)# spanning-tree port-priority 96

5.21.10 spanning-tree portfast

The spanning-tree portfast interface configuration command enables PortFast mode. In PortFast mode, the interface is

immediately put into the forwarding state upon linkup, without waiting for the timer to expire. To disable PortFast mode, use the

no

form of this command.

Syntax

spanning-tree portfast

no spanning-tree portfast

This manual is related to the following products: