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.

encapsulated in a FabricPath header. From these interface types, three roles are defined for<br />

switches carrying traffic acr<strong>os</strong>s the fabric.<br />

First, the ingress FabricPath switch receives a frame on one of its connected edge ports. The<br />

ingress FabricPath switch is responsible for performing a MAC table lookup to determine<br />

which SID has advertised reachability for the destination MAC address. The ingress<br />

FabricPath switch also determines to which interface the frame should be forwarded. The<br />

ingress FabricPath switch forwards the frame accordingly. Next, a core FabricPath switch<br />

receives frames on a FabricPath core port <strong>and</strong> determines the next-hop interface based on<br />

the SID in the FabricPath header. The core FabricPath switch forwards the frame<br />

accordingly. Finally, the egress FabricPath switch receives frames on a FabricPath core<br />

port <strong>and</strong> examines the FabricPath header. Upon seeing that it is the destination SID, it uses<br />

the Local Identifier (LID) field to determine which FabricPath edge port the frame needs to<br />

be forwarded on. The egress FabricPath switch removes the FabricPath header <strong>and</strong><br />

forwards the frame to the appropriate CE port. The ingress <strong>and</strong> egress FabricPath switches<br />

are also sometimes referred to as Layer 2 gateways.<br />

Through the use of these defined functions, MAC address learning can be optimized through<br />

conversational learning. In traditional Ethernet implementations each switch unconditionally<br />

populates its MAC address table based on the source address of the frame. This causes the<br />

switch to consume valuable resources, even if it is just a transit switch. In the case of<br />

FabricPath, traditional learning is done only on FabricPath edge ports. FabricPath core<br />

switches do not need to learn any MAC addresses. At the FabricPath edge, only local MAC<br />

addresses are unconditionally learned. The edge switch learns only the source MAC<br />

address if the destination MAC is already present in its local MAC table.<br />

Enabling FabricPath on a Nexus 7000 has the following prerequisites:<br />

• You must install the Enhanced Layer 2 license.<br />

• You must be using F1, F2, or F2e linecards for all FabricPath interfaces.<br />

The first step in FabricPath configuration is to enable the corresponding feature-set, as<br />

shown in Example 2-73.<br />

Example 2-73. Enabling the FabricPath feature-set<br />

Click here to view code image<br />

fp-spine-1(config)# install feature-set fabricpath<br />

fp-spine-1(config)# feature-set fabricpath<br />

When the prerequisites are met, <strong>and</strong> the FabricPath feature set is enabled, you can begin the<br />

configuration tasks associated with FabricPath. For the remainder of this chapter, the<br />

topology shown in Figure 2-9 will be used.

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

Saved successfully!

Ooh no, something went wrong!