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-41. Per-VLAN C<strong>os</strong>t Configuration<br />

Click here to view code image<br />

Kenya(config)# interface ethernet 2/11<br />

Kenya(config-if)# spanning-tree vlan 1,3,5,7,9 c<strong>os</strong>t 4<br />

Kenya(config-if)# exit<br />

Example 2-42 shows the result of the changes in the previous example. Ethernet2/11 is now<br />

the root for VLANs 1, 3, 5, 6, <strong>and</strong> 9.<br />

Example 2-42. Spanning Tree Root Verification<br />

Click here to view code image<br />

Kenya# show spanning-tree root<br />

Root Hello Max<br />

Fwd<br />

Vlan Root ID C<strong>os</strong>t Time Age<br />

Dly Root Port<br />

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

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

VLAN0001 4097<br />

001b.54c2.bbc1 4 2 12 9 Ethernet2/11<br />

VLAN0002 4098<br />

001b.54c2.bbc1 5 2 12 9 Ethernet2/12<br />

VLAN0003 4099<br />

001b.54c2.bbc1 4 2 12 9 Ethernet2/11<br />

VLAN0004 4100<br />

001b.54c2.bbc1 5 2 12 9 Ethernet2/12<br />

VLAN0005 4101<br />

001b.54c2.bbc1 4 2 12 9 Ethernet2/11<br />

VLAN0006 4102<br />

001b.54c2.bbc1 5 2 12 9 Ethernet2/12<br />

VLAN0007 4103<br />

001b.54c2.bbc1 4 2 12 9 Ethernet2/11<br />

VLAN0008 4104<br />

001b.54c2.bbc1 5 2 12 9 Ethernet2/12<br />

VLAN0009 4105<br />

001b.54c2.bbc1 4 2 12 9 Ethernet2/11<br />

VLAN0010 4106<br />

001b.54c2.bbc1 5 2 12 9 Ethernet2/12<br />

VLAN0011 4107<br />

001b.54c2.bbc2 4 2 12 9 Ethernet2/12<br />

VLAN0012 4108

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

Saved successfully!

Ooh no, something went wrong!