
26-8
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
Enabling PortFast Port Types
•
Configuring the PortFast Default State Globally, page 26-8
•
Configuring a PortFast Edge Port on a Specified Interface, page 26-8
•
Configuring a PortFast Network Port on a Specified Interface, page 26-10
Configuring the PortFast Default State Globally
To configure the default PortFast state, perform this task:
Configuring a PortFast Edge Port on a Specified Interface
Interfaces configured as edge ports immediately transition to the forwarding state, without passing
through the blocking or learning states, on linkup. To configure an edge port on a specified interface,
perform this task:
Note
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.
Command
Purpose
Step 1
Switch#
configure terminal
Enters global configuration mode.
Step 1
Switch(config)#
spanning-tree portfast
[
edge
|
network
|
normal
]
default
Configures the default state for all interfaces on the
switch. You have these options:
•
(Optional)
edge
—Configures all interfaces as edge
ports. This assumes all ports are connected to
hosts/servers.
•
(Optional)
network
—Configures all interfaces as
spanning tree network ports. This assumes all ports
are connected to switches and bridges. Bridge
Assurance is enabled on all network ports by default.
•
(Optional)
normal
—Configures all interfaces as
normal spanning tree ports. These ports can be
connected to any type of device.
•
default
—The default port type is
normal
.
Step 2
Switch(config)#
end
Exits configuration mode.
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.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...