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.

Dispute Mechanism<br />

The 802.1D-2004 st<strong>and</strong>ard specifies a dispute mechanism that can prevent loops created for<br />

a variety of reasons. Two common cases in which the dispute mechanism helps are<br />

unidirectional links or port-channel misconfiguration. Dispute mechanism is enabled by<br />

default <strong>and</strong> cannot be disabled.<br />

Bridge Assurance<br />

Bridge Assurance is a new feature that can eliminate issues caused by a malfunctioning<br />

bridge. With Bridge Assurance, all ports send <strong>and</strong> receive BPDUs on all VLANs regardless<br />

of their states. This creates a bidirectional keepalive using BPDUs, <strong>and</strong> if a bridge stops<br />

receiving BPDUs, these ports are placed into an inconsistent state. This functionality can<br />

prevent loops that can be introduced as a result of a malfunctioning bridge. Bridge<br />

Assurance is enabled by default on any port configured with a spanning tree port type<br />

network but can be disabled globally with the following comm<strong>and</strong>:<br />

Congo(config)# no spanning-tree bridge assurance<br />

To enable Bridge Assurance by setting the spanning tree port type, enter the following<br />

comm<strong>and</strong>s:<br />

Click here to view code image<br />

Congo(config)# int port-channel 1<br />

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

An interesting side effect of Bridge Assurance is an automatic pruning function. In the<br />

topology from Figure 2-5, if a VLAN is defined on Congo but not on Egypt, Bridge<br />

Assurance puts that VLAN into a blocking state because it is not receiving BPDUs for that<br />

VLAN from Egypt. Example 2-54 demonstrates this functionality.<br />

Example 2-54. Bridge Assurance as a Pruning Mechanism<br />

Click here to view code image<br />

Congo# conf t<br />

Enter configuration comm<strong>and</strong>s, one per line. End with<br />

CNTL/Z.<br />

Congo(config)# vlan 500<br />

Congo(config-vlan)# exit<br />

Congo(config)# 2009 Oct 28 14:06:53 Congo %STP-2-<br />

BRIDGE_ASSURANCE_BLOCK: Bridge<br />

Assurance blocking port Ethernet2/1 VLAN0500.<br />

2009 Oct 28 14:06:53 Congo %STP-2-BRIDGE_ASSURANCE_BLOCK:<br />

Bridge Assurance<br />

blocking port port-channel100 VLAN0500.

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

Saved successfully!

Ooh no, something went wrong!