Enabling Portfast On A Trunk Port - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Chapter 8
Configuring Spanning Tree PortFast, BPDU Guard, BPDU Filter, UplinkFast, BackboneFast, and Loop Guard
This example shows how to enable PortFast on port 1 of module 4 and verify the configuration (the
PortFast status is shown in the "Fast-Start" column):
Console> (enable) set spantree portfast 4/1 enable
Warning:Connecting Layer 2 devices to a fast start port can cause
temporary spanning tree loops. Use with caution.
Spantree port
Console> (enable) show spantree 4/1
Port
--------- ----
4/1
4/1
4/1
4/1
4/1
4/1
4/1
4/1
Console> (enable)

Enabling PortFast on a Trunk Port

Caution
You can use PortFast to connect a single end station or a switch port to a switch port. If you enable
PortFast on a port that is connected to another Layer 2 device, such as a switch, you might create network
loops.
To enable PortFast on a trunk port, perform this task in privileged mode:
Task
Step 1
Enable PortFast on a trunk port that is
connected to a single workstation, switch,
or server.
Step 2
Verify the PortFast setting on a trunk port.
This example shows how to enable PortFast on port 1 of module 4 of a trunk port, bring the trunk port
to a forwarding state, and verify the configuration (the PortFast status is shown in the "Fast-Start"
column):
Console> (enable) set spantree portfast 4/1 enable trunk
Warning:Connecting Layer 2 devices to a fast start port can cause
temporary spanning tree loops. Use with caution.
Spantree port
Console> (enable) show spantree 4/1
Port
Channel_id
------------------------ ---- ------------- --------- ---- ------------------
4/1
4/1
4/1
4/1
4/1
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
4/1 fast start enabled.
Vlan
Port-State
Cost
-------------
-----
1
blocking
100
forwarding
521
blocking
522
blocking
523
blocking
524
blocking
1003
not-connected
1005
not-connected
4/1 fast start enabled.
Vlan Port-State
1
blocking
100
forwarding
521
blocking
524
blocking
1003 not-connected
Priority
Fast-Start
--------
----------
19
20
enabled
10
20
enabled
19
20
enabled
19
20
enabled
19
20
enabled
19
20
enabled
19
20
enabled
19
4
enabled
Command
set spantree portfast mod_num/port_num enable trunk
Note
If you enter the set spantree portfast command
on a trunk port without entering the trunk
keyword, the trunk port stays in disable mode.
show spantree portfast [mod_num/port_num]
Cost
Prio Portfast
4
32 enabled
4
32 enabled
4
32 enabled
4
32 enabled
4
32 enabled
Configuring PortFast
Group-method
------------
0
0
0
0
0
8-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents