31
Spanning-Tree Commands
Parameters
priority—Specifies the port priority. (Range: 0–240)
Default Configuration
The default port priority is 128.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
The priority value must be a multiple of 16.
Example
The following example configures the spanning priority on gi15 to 96
switchxxxxxx(config)# interface gi15
switchxxxxxx(config-if)# spanning-tree port-priority 96
31.10 spanning-tree portfast
Use the spanning-tree portfast Interface Configuration (Ethernet, port-channel)
mode command to enable the PortFast mode. In PortFast mode, the interface is
immediately put into the forwarding state upon linkup, without waiting for the
standard forward time delay. Use the no form of this command to disable the
PortFast mode.
Syntax
spanning-tree portfast [auto]
no spanning-tree portfast
Parameters
auto—Specifies that the software waits for 3 seconds (with no Bridge Protocol
Data Units (BPDUs) received on the interface) before putting the interface into the
PortFast mode.
458
78-21075-01 Command Line Interface Reference Guide