Cisco Catalyst 2960-XR Configuration Manual page 105

Layer 2
Hide thumbs Also See for Catalyst 2960-XR:
Table of Contents

Advertisement

Configuring Optional Spanning-Tree Features
Beginning in privileged EXEC mode, follow these steps to enable PortFast on the switch.
SUMMARY STEPS
1. configure terminal
2. interface interface-id
3. spanning-tree portfast [trunk]
4. end
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
interface interface-id
Example:
Switch(config)# interface
gigabitethernet1/0/2
Step 3
spanning-tree portfast [trunk]
Example:
Switch(config-if)# spanning-tree
portfast trunk
Step 4
end
Example:
Switch(config-if)# end
What to Do Next
You can use the spanning-tree portfast default global configuration command to globally enable the PortFast
feature on all nontrunking ports.
OL-29424-01
Purpose
Enters the global configuration mode.
Specifies an interface to configure, and enters interface configuration
mode.
Enables PortFast on an access port connected to a single workstation or
server. By specifying the trunk keyword, you can enable PortFast on a
trunk port.
To enable PortFast on trunk ports, you must use the
Note
spanning-tree portfast trunk interface configuration command.
The spanning-tree portfast command will not work on trunk
ports.
Make sure that there are no loops in the network between the
trunk port and the workstation or server before you enable
PortFast on a trunk port.
By default, PortFast is disabled on all interfaces.
Returns to privileged EXEC mode.
Catalyst 2960-XR Switch Layer 2 Configuration Guide, Cisco IOS Release 15.0(2)EX1
Enabling PortFast
91

Advertisement

Table of Contents
loading

Table of Contents