SUMMARY STEPS
1.
enable
2.
configure terminal
3.
spanning-tree portfast [edge | network | normal] default
4.
end
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Configures the default state for all interfaces on the switch. You have these
options:
spanning-tree portfast [edge | network
| normal] default
Example:
Switch(config)# spanning-tree
portfast default
Step 3
• (Optional) edge—Configures all interfaces as edge ports. This assumes
all ports are connected to hosts/servers.
• (Optional) network—Configures all interfaces as spanning tree
network ports. This assumes all ports are connected to switches and
bridges. Bridge Assurance is enabled on all network ports by default.
• (Optional) normal—Configures all interfaces normal spanning tree
ports. These ports can be connected to any type of device.
• default—The default port type is normal.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Configuring PortFast Edge on a Specified Interface
Interfaces configured as edge ports immediately transition to the forwarding state, without passing through
the blocking or learning states, on linkup.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
315
How to Configure Optional Spanning-Tree Features