22.05.2017 Views

nx.os.and.cisco.nexus.switching.2nd.edition.1587143046

Nexus Switching 2nd Edition

Nexus Switching 2nd Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Example 2-28 shows how to manually adjust the hello, forward-delay, <strong>and</strong> max-age timers.<br />

Caution<br />

Although it might be desirable to manipulate spanning tree timers for faster<br />

reconvergence, these timers <strong>and</strong> the Layer 2 topology should be well understood.<br />

Incorrect spanning tree timers can produce unwanted results.<br />

Example 2-28. Modifying Spanning Tree Timers<br />

Click here to view code image<br />

Congo(config)# spanning-tree mode rapid-pvst<br />

Congo(config)# spanning-tree vlan 10 hello-time 1<br />

Congo(config)# spanning-tree vlan 10 forward-time 10<br />

Congo(config)# spanning-tree vlan 10 max-age 15<br />

Congo(config)#<br />

Congo(config)# sho spanning-tree vlan 10<br />

VLAN0010<br />

Spanning tree enabled protocol rstp<br />

Root ID Priority 4106<br />

Address 001b.54c2.bbc1<br />

This bridge is the root<br />

Hello Time 1 sec Max Age 15 sec Forward<br />

Delay 10 sec<br />

Bridge ID Priority 4106 (priority 4096 sys-id-ext<br />

10)<br />

Address 001b.54c2.bbc1<br />

Hello Time 1 sec Max Age 15 sec Forward<br />

Delay 10 sec<br />

Interface Role Sts C<strong>os</strong>t Prio.Nbr Type<br />

---------------- ---- --- --------- -------- -------------<br />

-------------------<br />

Po100 e Desg FWD 1 128.4195 (vPC peerlink)<br />

Network P2p<br />

To mitigate some of the risk associated with the manual manipulation of spanning tree<br />

timers, NX-OS provides the diameter keyword, <strong>and</strong> if needed, adjusts these timers<br />

according to best practices. In this topology, a single-tier Layer 2 design is implemented<br />

with access switches connecting to both aggregation switches; therefore, the maximum<br />

number of bridges between any two stations (diameter) is 3. If no diameter is specified, the<br />

default of 7 applies. By specifying the diameter of the spanning tree domain, hello, forwarddelay,<br />

<strong>and</strong> max-age timers are adjusted for optimal reconvergence in the event that a<br />

spanning tree recalculation occurs.

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

Saved successfully!

Ooh no, something went wrong!