26-10
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 26 Configuring Optional STP Features
Enabling PortFast Port Types
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi5/7 Desg FWD 4 128.1 P2p Edge
Configuring a PortFast Network Port on a Specified Interface
Ports that are connected to Layer 2 switches and bridges can be configured as network ports.
Note Bridge Assurance is enabled only on PortFast network ports. For more information, see About
Bridge Assurance, page 26-11
To configure a port as a network port, perform this task:
This example shows how to configure GigabitEthernet interface 5/8 as a network port and verify
configuration:
Switch# configure terminal
Switch(config)# interface gigabitethernet 5/8
Switch(config-if)# spanning-tree portfast network
Switch(config-if)# end
Switch#
Switch# show running-config interface gigabitethernet 5/8
Building configuration...
Current configuration:
!
interface GigabitEthernet5/8
no ip address
switchport
switchport access vlan 200
switchport mode access
spanning-tree portfast network
end
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# interface {{fastethernet |
gigabitethernet | tengigabitethernet} slot/port}
| {port-channel port_channel_number}
Specifies an interface to configure.
Step 3
Switch(config-if)# spanning-tree portfast network
Configures the port as a network port. If you have
enabled Bridge Assurance globally, it automatically runs
on a spanning tree network port.
Use the no keyword to disable PortFast.
Step 4
Switch(config-if)# end
Exits configuration mode.
Step 5
Switch# show running interface {{fastethernet |
gigabitethernet | tengigabitethernet} slot/port}
| {port-channel port_channel_number}
Verifies the configuration.