16.06.2014 Views

Cisco CCNA Study Guide - Router Alley

Cisco CCNA Study Guide - Router Alley

Cisco CCNA Study Guide - Router Alley

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>CCNA</strong> <strong>Study</strong> <strong>Guide</strong> v2.62 – Aaron Balchunas<br />

59<br />

STP PortFast<br />

PortFast allows switch ports that connect a host device (such as a printer or<br />

a workstation), to bypass the usual progression of STP states. Theoretically,<br />

a port connecting to a host device can never create a switching loop. Thus,<br />

Port Fast allows the interface to move from a blocking state to a forwarding<br />

state immediately, eliminating the normal 30 second STP delay.<br />

To configure PortFast on an interface:<br />

Switch(config)# int fa0/10<br />

Switch(config-if)# spanning-tree portfast<br />

To enable PortFast globally on all interfaces:<br />

Switch(config)# spanning-tree portfast default<br />

PortFast should not be enabled on switch ports connecting to another<br />

hub/switch, as this may result in a loop. Note that PortFast does not disable<br />

STP on an interface - it merely speeds up the convergence.<br />

PortFast additionally reduces unnecessary BPDU traffic, as TCN BPDU’s<br />

will not be sent out for state changes on a PortFast-enabled interface.<br />

STP UplinkFast<br />

Switches can have multiple uplinks to other upstream switches. If the<br />

multiple links are not placed in an EtherChannel, then at least one of the<br />

ports is placed into a blocking state to eliminate the loop.<br />

If a directly-connected interface goes down, STP needs to perform a<br />

recalculation to bring the other interface out of a blocking state. As stated<br />

earlier, this calculation can take from 30 to 50 seconds.<br />

UplinkFast allows the port in a blocking state to be held in standby-mode,<br />

and activated immediately if the forwarding interface fails. If multiple ports<br />

are in a blocking state, whichever port has the lowest Root Path Cost will<br />

become unblocked. The Root Bridge cannot have UplinkFast enabled.<br />

UplinkFast is configured globally for all VLANs on the switch:<br />

Switch(config)# spanning-tree uplinkfast<br />

(Reference: http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_35_se/configuration/guide/swstpopt.html)<br />

* * *<br />

All original material copyright © 2013 by Aaron Balchunas (aaron@routeralley.com),<br />

unless otherwise noted. All other material copyright © of their respective owners.<br />

This material may be copied and used freely, but may not be altered or sold without the expressed written<br />

consent of the owner of the above copyright. Updated material may be found at http://www.routeralley.com.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!