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.

interfaces, where any given flow always hashes to the same physical interface. A common<br />

misconception about port-channels is that the logical interface is a 20/40/80-Gbps link. For<br />

10-Gbps member links, however, no single flow would exceed the transmission speed of the<br />

physical links that are members. An analogy here would be that port-channels add new lanes<br />

to the highway but do not increase the speed limit. A port-channel can be configured as<br />

either a Layer 2 or Layer 3 link depending on the requirements.<br />

The hashing used to load balance traffic acr<strong>os</strong>s the links is user-configurable, <strong>and</strong> the<br />

following options are available on the Nexus 7000:<br />

• Source IP<br />

• Destination IP<br />

• Source MAC<br />

• Destination MAC<br />

• Source port<br />

• Destination port<br />

• Source <strong>and</strong> destination IP<br />

• Source <strong>and</strong> destination MAC<br />

• Source <strong>and</strong> destination port<br />

You can configure these options globally or, because of the distributed nature of the Nexus<br />

7000, on a linecard-by-linecard basis. If VDCs are used, these parameters are defined in the<br />

default VDC.<br />

Example 2-62 shows how to configure <strong>and</strong> verify the load-balancing algorithm.<br />

Example 2-62. Port-Channel Load-Balancing Algorithm<br />

Click here to view code image<br />

Congo(config)# port-channel load-balance ethernet sourcedest-ip-vlan<br />

Congo(config)# show port-channel load-balance<br />

Port Channel Load-Balancing Configuration:<br />

System: source-dest-ip-vlan<br />

Port Channel Load-Balancing Addresses Used Per-Protocol:<br />

Non-IP: source-dest-mac<br />

IP: source-dest-ip-vlan<br />

Assigning Physical Ports to a Port-Channel<br />

Two options exist for assigning members to the logical interface:<br />

• Configure member links to run the industry-st<strong>and</strong>ard 802.3ad Link Aggregation<br />

Control Protocol (LACP).<br />

• Statically configure the port as a member of the port-channel. This mode is on, <strong>and</strong> no

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

Saved successfully!

Ooh no, something went wrong!