Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

How to Configure Optional Spanning-Tree Features
Because the purpose of this type of port is to minimize the time that access ports must wait for spanning
Note
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.
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
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
interface interface-id | port-channel
port_channel_number
Example:
Switch(config)# interface gigabitethernet
1/0/1 | port-channel port_channel_number
Step 4
spanning-tree portfast edge [trunk]
Example:
Switch(config-if)# spanning-tree portfast
trunk

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

316
Purpose
Enables privileged EXEC mode. Enter your password if
prompted.
Enters the global configuration mode.
Specifies an interface to configure.
Enables edge behavior on a Layer 2 access port connected to
an end workstation or server.
• (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.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents