Users Guide

Table Of Contents
Layer 2 Switching Commands 823
NOTE: This command should be used with care. An interface with
portfast mode enabled is moved directly to the spanning tree forwarding state
when linkup occurs without waiting for the standard forward-time delay.
Setting a port connected to another switch into portfast mode may cause an
accidental topology loop and disrupt switch and network operations.
Example
The following example enables portfast mode on all access ports.
console(config)#spanning-tree portfast default
spanning-tree port-priority (Interface
Configuration)
Use the spanning-tree port-priority command in Interface Configuration
mode to configure the priority value of an edge-port or point-to-point
interface to allow the operator to select the relative importance of the
interface in the selection process for forwarding. Set this value to a lower
number to prefer an operationally enabled interface for forwarding of frames.
Use the no form of the command to return the priority to the default value.
Syntax
spanning-tree [vlan vlan-id] port-priority priority
no spanning-tree [vlan vlan-id] port-priority
vlan-id — An optional parameter specifying the VLAN to which the
priority applies when the port is configured as an edge-port. Range 1-4093.
priority — The priority of the edge-port or point-to-point link in the
forwarding port selection process. Range is 0 to 240 in increments of 16.
Default Configuration
The default port-priority for IEEE STP is 128.
Command Mode
Interface Configuration mode