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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Congo(config)# spanning-tree mst 2 root secondary<br />

Example 2-37 shows how to verify the configuration of an MST instance.<br />

Example 2-37. MST Verification<br />

Click here to view code image<br />

Congo# show spanning-tree mst 1<br />

##### MST1 vlans mapped: 1-10<br />

Bridge address<br />

001b.54c2.bbc1 priority 4097 (4096 sysid 1)<br />

Root<br />

this switch for MST1<br />

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

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

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

Po100 Desg FWD 1000 128.4195 Network P2p<br />

Eth2/1 Desg FWD 20000 128.257 Network P2p<br />

Bound(PVST)<br />

Congo#<br />

The example shows that Congo is the root bridge for MST instance 1, which has VLANs 1–<br />

10 mapped to it.<br />

Additional Spanning Tree Configuration<br />

The following sections cover the configuration required to manipulate some additional<br />

spanning tree parameters.<br />

Port C<strong>os</strong>t<br />

Port c<strong>os</strong>t is used to calculate the shortest path to the root bridge. By default, port c<strong>os</strong>ts are<br />

automatically calculated by the device based on the transmission speed of the physical link.<br />

Table 2-1 illustrates the default port c<strong>os</strong>ts.<br />

From time to time, it might be necessary to statically define port c<strong>os</strong>ts; an example of this is<br />

with port-channels in which the c<strong>os</strong>t might change depending on the number of links active<br />

within the bundle.<br />

Table 2-1. Default Spanning Tree C<strong>os</strong>ts

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

Saved successfully!

Ooh no, something went wrong!