Cisco Catalyst 4500 Series Software Configuration Manual page 779

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 26
Configuring Optional STP Features
Command
Step 3
Switch(config-if)# spanning-tree portfast edge
[trunk]
Step 4
Switch(config-if)# end
Step 5
Switch# show running interface {{fastethernet |
gigabitethernet | tengigabitethernet} slot/port}
| {port-channel port_channel_number}
Step 6
Switch# show spanning-tree interface
{{fastethernet | gigabitethernet |
tengigabitethernet} slot/port} | {port-channel
port_channel_number} portfast edge
This example shows how to enable edge behavior on GigabitEthernet interface 5/7 and verify
configuration:
Switch# configure terminal
Switch(config)# interface fastethernet 5/7
Switch(config-if)# spanning-tree portfast edge
Switch(config-if)# end
Switch#
Switch# show running-config interface fastethernet 5/7
Building configuration...
Current configuration:
!
interface GigabitEthernet5/7
no ip address
switchport
switchport access vlan 200
switchport mode access
spanning-tree portfast edge
end
This example shows how you can display that port GigabitEthernet 5/8 is currently in the edge state:
Switch# show spanning-tree vlan 200
VLAN0200
Spanning tree enabled protocol rstp
Root ID Priority 2
Address 001b.2a68.5fc0
Cost 3
Port 125 (GigabitEthernet5/9)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 2 (priority 0 sys-id-ext 2)
Address 7010.5c9c.5200
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 0 sec
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Purpose
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.
Use the no version of the command to disable PortFast
edge.
Exits global configuration mode
Verifies the configuration.
Displays spanning-tree PortFast information for the
specified interface.
Enabling PortFast Port Types
26-9

Advertisement

Table of Contents
loading

Table of Contents