Because the purpose of this type of port is to minimize the time that access ports must wait for spanning
tree to converge, it is most effective when used on access ports. If you enable PortFast edge on a port
connecting to another switch, you risk creating a spanning tree loop.
Note
To configure an edge port on a specified interface, perform this task:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface interface-id
|
port-channel port_channel_number
4.
spanning-tree portfast edge
[
trunk
]
5.
end
6.
show running interface interface-id
|
port-channel port_channel_number
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch>
enable
Step 1
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 2
Specifies an interface to configure.
interface interface-id
|
port-channel
port_channel_number
Step 3
Example:
Switch(config)#
interface gigabitethernet
1/0/1 | port-channel port_channel_number
Enables edge behavior on a Layer 2 access port connected to
an end workstation or server.
spanning-tree portfast edge
[
trunk
]
Example:
Switch(config-if)#
spanning-tree portfast
trunk
Step 4
•
(Optional)
trunk
—
Enables edge behavior on a trunk port.
Use this keyword if the link is a trunk. Use this command
only on ports that are connected to end host devices that
terminate VLANs and from which the port should never
receive STP BPDUs. Such end host devices include
workstations, servers, and ports on routers that are not
configured to support bridging.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
316
How to Configure Optional Spanning-Tree Features
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......