Cisco Catalyst 4500 Series Configuration Manual page 1110

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

spanning-tree portfast
spanning-tree portfast
To globally enable a default state for all ports, use the spanning-tree portfast command. To return to
the default settings, use the no form of this command, or enter the spanning-tree portfast default
command.
Syntax Description
edge
network
normal
default
Command Default
The default port type is normal.
Command Modes
Global configuration mode
Command History
Release
12.1(12c)EW
3.8.0E and 15.2.(4)E Support for the edge, network, and normal keywords was introduced.
Usage Guidelines
On any given interface, the type of port you can configure depends on the type of device to which the
interface is connected:
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
2-1060
spanning-tree portfast {edge | network | normal} default
no spanning-tree portfast
Configures all interfaces as edge ports.
Configures all interfaces as network ports.
Configures all interfaces as normal spanning tree ports.
Sets the port type that you entered (whether edge, network, or normal) as the
default port type on all interfaces.
Modification
This command was introduced on the Catalyst 4500 series switch.
Beginning with this release, if you enter the spanning-tree portfast [trunk]
command in the global configuration mode, the system automatically saves it as
spanning-tree portfast edge [trunk].
A PortFast edge port—is connected to a Layer 2 host, which can be an access port or an edge trunk
port. An edge port is moved directly to the spanning-tree forwarding state when linkup occurs,
without waiting for the standard forward-time delay.
Set this port type only on interfaces that connect to end stations (hosts or servers); otherwise, an
accidental topology loop could cause a data packet loop and disrupt the Catalyst 4500 series switch
and network operation.
A PortFast network port—is connected only to a Layer 2 switch or bridge.
Set this port type on interfaces where you want to enable Bridge Assurance (Bridge Assurance is
enabled on all network ports by default). For more information, see the
assurance
global configuration command.
If you configure a port that is connected to a Layer 2 host as a spanning tree network port, the port
will automatically move into the blocking state.
Chapter 2
spanning-tree bridge

Advertisement

Table of Contents
loading

Table of Contents