{"id":79,"date":"2014-06-25T14:23:07","date_gmt":"2014-06-25T14:23:07","guid":{"rendered":"http:\/\/feralpacket.org\/?p=79"},"modified":"2015-01-03T11:17:26","modified_gmt":"2015-01-03T11:17:26","slug":"v5-written-and-lab-optional-spanning-tree-features-notes","status":"publish","type":"post","link":"https:\/\/feralpacket.org\/?p=79","title":{"rendered":"v5 Written and Lab:  Optional Spanning-Tree Features Notes"},"content":{"rendered":"<p><code>v5 Written:<br \/>\n2.1.f Implement and troubleshoot spanning-tree<br \/>\n2.1.f [i] PVST+ \/ RPVST+ \/ MST<br \/>\n2.1.f [ii] Switch priority, port priority, path cost, STP timers<br \/>\n2.1.f [iii] port fast, BPDUguard, BPDUfilter<br \/>\n2.1.f [iv] loopguard, rootguard<\/code><\/p>\n<p>v5 Lab:<br \/>\n1.1.f Implement and troubleshoot spanning-tree<br \/>\n1.1.f [i] PVST+ \/ RPVST+ \/ MST<br \/>\n1.1.f [ii] switch priority, port priority, path cost, STP timers<br \/>\n1.1.f [iii] port fast, BPDUguard, BPDUfilter<br \/>\n1.1.f [iv] loopguard, rootguard<\/p>\n<p>Documentation:<\/p>\n<p>Catalyst 3750-X and 3560-X Software Configuration Guide, Release 15.0(1)SE,<br \/>\nChapter 22, Configuring Optional Spanning-Tree Features, pgs 22-1 to 22-19<\/p>\n<p>Books:<\/p>\n<p>CCIE Routing and Switching Exam Certification Guide 4th Ed; Chapter<\/p>\n<p>INE:<\/p>\n<p>Port Fast<br \/>\n&#8211; immediately brings an interface configured as an access or trunk port to the forwarding<\/p>\n<p>state<br \/>\n&#8211; bypasses the listening and learning states<br \/>\n&#8211; interfaces should not receive BPDUs<\/p>\n<p>conf t<br \/>\nint fa0\/1<br \/>\nspanning-tree portfast<\/p>\n<p>conf t<br \/>\nint fa0\/1<br \/>\nspanning-tree portfast trunk<\/p>\n<p>conf t<br \/>\nspanning-tree portfast default<\/p>\n<p>show spanning-tree int fa0\/1 portfast<\/p>\n<p>BPDU Guard<br \/>\n&#8211; shuts down ports that are in the Port Fast operational state when BPDUs are received<br \/>\n&#8211; port is placed in an err-disabled state<br \/>\n&#8211; can be configured to shutdown the the VLAN configured on the port instead of the port<br \/>\n&#8211; when configured globally, only affects ports in the Port Fast operational state<br \/>\n&#8211; can be configured on the interface without enabling Port Fast<\/p>\n<p>conf t<br \/>\nspanning-tree portfast bpduguard default<br \/>\nint fa0\/1<br \/>\nspanning-tree portfast<\/p>\n<p>conf t<br \/>\nint fa0\/1<br \/>\nspanning-tree bpduguard enable<\/p>\n<p>conf t<br \/>\nerrdisable detect cause bpduguard shutdown vlan<\/p>\n<p>BPDU Filter<br \/>\n&#8211; prevents interfaces that are in a Port Fast operational state from sending or receiving<\/p>\n<p>BPDUs<br \/>\n&#8211; if a BPDU is received, the interface loses its Port Fast operational state and BPDU<\/p>\n<p>filtering is disabled<br \/>\n&#8211; when configured globally, only affects ports in the Port Fast operational state<br \/>\n&#8211; can be configured on the interface without enabling Port Fast<br \/>\n&#8211; enabling BPDU filtering on an interface is the same as disabling spanning tree and can<\/p>\n<p>result in spanning tree loops<\/p>\n<p>conf t<br \/>\nspanning-tree portfast bpdufilter default<br \/>\nint fa0\/1<br \/>\nspanning-tree portfast<\/p>\n<p>conf t<br \/>\nint fa0\/1<br \/>\nspanning-tree bpdufilter enable<\/p>\n<p>Uplink Fast<br \/>\n&#8211; accelerates the choice of a new root port when a link or switch fails or when spanning<\/p>\n<p>tree reconfigures<br \/>\n&#8211; the root port transitions to the forwarding state immediately<br \/>\n&#8211; does not go through the listening or learning state<br \/>\n&#8211; when spanning tree reconfigures the new root port, the other interfaces flood the<\/p>\n<p>network with multicast packets<br \/>\n&#8211; the multicast packets include each address learned on the interface<br \/>\n&#8211; the multicast traffic can be reduced by reducing the max-update-rate parameter<br \/>\n&#8211; Uplink Fast is most useful at the access layer or the edge or the network<br \/>\n&#8211; Uplink Fast is not appropriate for backbone devices<\/p>\n<p>conf t<br \/>\nspanning-tree uplinkfast<\/p>\n<p>conf t<br \/>\nspanning-tree uplinkfast max-update-rate<\/p>\n<p>show spanning-tree summary<\/p>\n<p>Backbone Fast<br \/>\n&#8211; detects indirect failures in the core of the backbone<br \/>\n&#8211; complementary technology to the Uplink Fast feature<br \/>\n&#8211; optimizes the maximum-age timer, which controls the amount of time the switch stores<\/p>\n<p>protocol information received on the interface<\/p>\n<p>conf t<br \/>\nspanning-tree backbonefast<\/p>\n<p>show spanning-tree summary<\/p>\n<p>EtherChannel Guard<br \/>\n&#8211; detects and EtherChannel misconfiguration between the switch and the connected device<br \/>\n&#8211; places the interface in the error-disabled state<\/p>\n<p>conf t<br \/>\nspanning-tree etherchannel guard misconfig<\/p>\n<p>show spanning-tree summary<br \/>\nshow interfaces status err-disabled<br \/>\nshow etherchannel summary<\/p>\n<p>Root Guard<br \/>\n&#8211; configured on switches that are not supposed to be the root switch<br \/>\n&#8211; if spanning tree calculations select the switch as the root switch, root guard places<\/p>\n<p>the interface in the root-inconsistent (blocked) state, which prevents the switch from<\/p>\n<p>becoming the root switch or being in the path to the root<\/p>\n<p>conf t<br \/>\nint fa0\/1<br \/>\nspanning-tree guard root<\/p>\n<p>Loop Guard<br \/>\n&#8211; prevents alternate or root ports from becoming designated ports because of a failure<\/p>\n<p>that leads to a unidirectional link<br \/>\n&#8211; the feature is most effective when it is enable on the entire switching network<br \/>\n&#8211; prevents alternate and root ports from becoming designated ports<br \/>\n&#8211; BPDUs are not sent on alternate or root ports<br \/>\n&#8211; in MST mode, BPDUs are not sent on nonboundary ports only if the interface is blocked by<\/p>\n<p>loop guard in all MST instances<br \/>\n&#8211; on a boundary port, loop guard blocks the interface in all MST instances<\/p>\n<p>conf t<br \/>\nspanning-tree loopguard default<\/p>\n<p>show spanning-tree active<br \/>\nshow spanning-tree mst<\/p>\n<p>Default Optional Spanning-Tree configuration<br \/>\n&#8211; Port Fast: globally disabled<br \/>\n&#8211; BPDU filtering: globally disabled<br \/>\n&#8211; BPDU guard: globally disabled<br \/>\n&#8211; Uplink Fast: globally disabled<br \/>\n&#8211; Backbone Fast: globally disabled<br \/>\n&#8211; EtherChannel Guard: globally ENABLED<br \/>\n&#8211; Root Guard: disabled on all interfaces<br \/>\n&#8211; Loop Guard: disabled on all interfaces<\/p>\n<p>show spanning-tree active<br \/>\nshow spanning-tree detail<br \/>\nshow spanning-tree interface fa0\/1<br \/>\nshow spanning-tree mst interface fa0\/1<br \/>\nshow spanning-tree summary<br \/>\nshow spanning-tree summary totals<\/p>\n","protected":false},"excerpt":{"rendered":"<p>v5 Written: 2.1.f Implement and troubleshoot spanning-tree 2.1.f [i] PVST+ \/ RPVST+ \/ MST 2.1.f [ii] Switch priority, port priority, path cost, STP timers 2.1.f [iii] port fast, BPDUguard, BPDUfilter 2.1.f [iv] loopguard, rootguard v5 Lab: 1.1.f Implement and troubleshoot spanning-tree 1.1.f [i] PVST+ \/ RPVST+ \/ MST 1.1.f [ii] switch priority, port priority, path [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[30,11,15],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-ccie","tag-ccie","tag-route-switch","tag-stp"],"_links":{"self":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":2,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":227,"href":"https:\/\/feralpacket.org\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions\/227"}],"wp:attachment":[{"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/feralpacket.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}