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.

ing to hubs, switches <strong>and</strong> bridges as they may create<br />

temporary bridging loops.<br />

! -OR-<br />

Congo(config)#<br />

Congo(config)# spanning-tree port type network default<br />

Congo(config)#<br />

To define the spanning tree port type on a specific interface, enter the following comm<strong>and</strong>s:<br />

Click here to view code image<br />

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

Kenya(config-if)# spanning-tree port type network<br />

Virtualization H<strong>os</strong>ts<br />

Because of the recent trend of virtualization in the data center, a hybrid of the two interface<br />

types exists as well. Although historically, 802.1Q trunks were reserved for interconnecting<br />

network devices only, virtualization h<strong>os</strong>ts often require 802.1Q trunk connectivity directly<br />

to h<strong>os</strong>ts. Even though these h<strong>os</strong>ts tag traffic with 802.1Q headers, they are typically not true<br />

bridges <strong>and</strong> therefore can be treated as h<strong>os</strong>ts <strong>and</strong> bypass the listening <strong>and</strong> learning stages of<br />

spanning tree initialization. This configuration is sometimes referred to as TrunkFast.<br />

Example 2-57 shows how to enable TrunkFast on a specific interface.<br />

Example 2-57. EnablingTrunkFast<br />

Click here to view code image<br />

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

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

Kenya(config-if)# spanning-tree port type edge trunk<br />

Warning: Edge port type (portfast) should only be enabled<br />

on ports connected to<br />

a single h<strong>os</strong>t. Connecting hubs, concentrators, switches,<br />

bridges, etc... to this<br />

interface when edge port type (portfast) is enabled, can<br />

cause temporary bridging<br />

loops.<br />

Use with CAUTION<br />

Kenya(config-if)#<br />

Caution<br />

Virtualization techniques vary greatly; consult your vendor’s documentation to<br />

determine whether this feature should be implemented.

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

Saved successfully!

Ooh no, something went wrong!