fabricpath - cloud packet hsrp standby hsrp emulated switch-id l3 fabricpath design root for tree 1...

2
Last update April 25, 2016 (version 1.04) References: https://cloudpacket.net/bookmarks/ Prepared By Shakib Shaygan FabricPath Wireshark Display Filter 0x8903 Eth.type Destination HMAC cfp.d_hmac MC Destination cfp.d_hmac_mc End Node ID cfp.eid FTAG cfp.ftag I/G bit cfp.ig Source LID cfp.lid OOO/DL Bit cfp.ooodl Source HMAC cfp.s_hmac sub-switch-id cfp.sswid switch-id cfp.swid TTL cfp.ttl U/L bit cfp.ul CRC Payload DMAC SMAC 802.1Q Etype CRC (New) Payload DMAC SMAC 802.1Q Etype 4 bytes FP Tag Outer SA Outer DA TTL Ftag Etype 0x8903 LID (Port ID) Sub Switch ID Switch ID 6 bytes 6 bytes 4 bytes 46~9000 bytes 2 bytes 4 bytes 6 bytes 6 bytes 000/DL RSVD I/G U/L Endnode ID (7:6) Endnode ID (5:0) 6 bits 1 1 2 bits 1 1 12 bits 8 bits 16 bits 16 bits 10 bits 6 bits Classical Ethernet Frame Cisco FabricPath Frame Switch ID: 12 bit switch ID uniquely identifies every switch in the FabricPath domain FabricPath Frame Encapsulation Sub-Switch ID: Identifies vPC+ port-channel interface associated to vPC+ switch pair LID: exact port which the frame is sourced/destined; avoid MAC learning for core ports Ftag: identifying topology/distribution tree (multicast,broadcast & unknown unicast) EType & TTL: 0x8903 identifies fabricpath frame & TTL is frame hop limit (default : 32) Layer 2 Multi Pathing Standard Frame Routing (ECMP,TTL, RPF) A/A FHRP Anycast HSRP vPC+ Multiple Topology & Conversational Learning STP domain interaction Inter-switch links TRILL Fabric Path RFC 5556,6325 Cisco Yes Yes No Yes No Yes Integrated Isolated P2P or Shared P2P only Terminology Classical Ethernet (CE) Regular ethernet with flooding & STP Conversational Learning Leaf Switch Connect CE domain to FP domain; Ports in CE & FP Spine Switch FP backbone switch with all ports in FP domain only CE Edge Port Send/receive ethernet frames, stp & mac learning FP Core Ports Send/receive FP frame, no stp & mac learning Conversational MAC Address Learning core switches generally do not learn any MAC addresses at all; Edge switch only learn the MAC of remote hosts when there are two way communications between remote hosts and local hosts. Provide Layer 2 scaling & Optimization of control plane S1 S2 S3 G0/1 G0/1 MAC IF PC1 ... PC1 PC2 PC2 G0/1 ... S3, G0/1 MAC IF PC1 ... PC2 S1, G0/1 ... G0/1 MAC IF ... ... Fabricpath Configuration # Install and enable feature (require license) install feature-set fabricpath feature-set fabricpath # Set the switch ID (should be unique number) fabricpath switch-id 10 # turn the port on and convert the vlan to FP interface ethernet 1/1 - 4 switchport mode fabricpath vlan 10 mode fabricpath vPC+ Fabricpath Domain Classical Ethernet Orphan Port L3 Edge Spine Switch Leaf Switch Active HSRP Standby HSRP Emulated switch-id L3 Fabricpath Design Root For Tree 1 Root For Tree 2 Ftag 1 Ftag 2 Page 1/2 FP FP CE CE CE FP FP FP FP FP FP FP FP FP FP CE CE Fabricpath Classical Ethernet FP CE

Upload: lydieu

Post on 17-May-2018

246 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: FabricPath - Cloud Packet HSRP Standby HSRP Emulated switch-id L3 Fabricpath Design Root For Tree 1 Root For Tree 2 Ftag 1 Ftag 2 Page 1/2 FP FP CE CE FP FP FP FP FP FP FP FP FP CE

Last update April 25, 2016 (version 1.04) References: https://cloudpacket.net/bookmarks/ Prepared By Shakib Shaygan

FabricPathWireshark Display Filter

0x8903 Eth.type

Destination HMACcfp.d_hmac

MC Destinationcfp.d_hmac_mc

End Node IDcfp.eid

FTAGcfp.ftag

I/G bitcfp.ig

Source LIDcfp.lid

OOO/DL Bitcfp.ooodl

Source HMACcfp.s_hmac

sub-switch-idcfp.sswid

switch-idcfp.swid

TTLcfp.ttl

U/L bitcfp.ul

CRCPayloadDMAC SMAC 802.1Q Etype

CRC(New)

PayloadDMAC SMAC 802.1Q Etype

4 bytes

FP TagOuter SA

Outer DA

TTLFtagEtype0x8903

LID(Port ID)

Sub Switch ID

Switch ID

6 bytes6 bytes

4 bytes46~9000 bytes2 bytes4 bytes6 bytes6 bytes

000/DL

RSVD

I/GU

/L

Endnode ID (7:6)

Endnode ID (5:0)

6 bits 1 1 2 bits 1 1 12 bits 8 bits 16 bits 16 bits 10 bits 6 bits

Classical Ethernet Frame

Cisco FabricPath Frame

Switch ID: 12 bit switch ID uniquely identifies every switch in the FabricPath domain

FabricPath Frame Encapsulation

Sub-Switch ID: Identifies vPC+ port-channel interface associated to vPC+ switch pair

LID: exact port which the frame is sourced/destined; avoid MAC learning for core portsFtag: identifying topology/distribution tree (multicast,broadcast & unknown unicast)

EType & TTL: 0x8903 identifies fabricpath frame & TTL is frame hop limit (default : 32)

Layer 2 Multi Pathing

Standard Frame Routing(ECMP,TTL, RPF)

A/A FHRPAnycast HSRP

vPC+

Multiple Topology &Conversational

LearningSTP domain interaction

Inter-switch links

TRILL

Fabric Path

RFC 5556,6325

Cisco

Yes

Yes

No

Yes

No

Yes

Integrated

Isolated

P2P or Shared

P2P only

Terminology Classical Ethernet (CE) Regular ethernet with flooding & STP

Conversational Learning

Leaf Switch Connect CE domain to FP domain; Ports in CE & FP Spine Switch FP backbone switch with all ports in FP domain only CE Edge Port Send/receive ethernet frames, stp & mac learningFP Core Ports Send/receive FP frame, no stp & mac learningConversational MAC Address Learning core switches generally do not learn any MAC addresses at all;Edge switch only learn the MAC of remote hosts when there are two way communications between remote hosts and local hosts.Provide Layer 2 scaling & Optimization of control plane

S1

S2

S3

G0/1 G0/1

MAC IFPC1...

PC1 PC2

PC2

G0/1...

S3, G0/1

MAC IFPC1...

PC2

S1, G0/1...

G0/1

MAC IF... ...

Fabricpath Configuration

# Install and enable feature (require license)install feature-set fabricpath feature-set fabricpath

# Set the switch ID (should be unique number)fabricpath switch-id 10

# turn the port on and convert the vlan to FPinterface ethernet 1/1 - 4 switchport mode fabricpathvlan 10 mode fabricpath

vPC+

Fabricpath Domain

Classical EthernetOrphan Port

L3 EdgeSpine Switch

Leaf Switch

Active HSRP Standby HSRP

Emulated switch-id

L3

Fabricpath Design

Root For Tree 1 Root For Tree 2

Ftag 1Ftag 2

Page 1/2

FPFPCE CE CE

FP FP

FP

FPFP

FPFP

FP

FP

FP

CE CE

FabricpathClassical Ethernet

FPCE

Page 2: FabricPath - Cloud Packet HSRP Standby HSRP Emulated switch-id L3 Fabricpath Design Root For Tree 1 Root For Tree 2 Ftag 1 Ftag 2 Page 1/2 FP FP CE CE FP FP FP FP FP FP FP FP FP CE

Last update April 25, 2016 (version 1.04) References: https://cloudpacket.net/bookmarks/ Prepared By Shakib Shaygan

FabricPathFabricPath Unicast - Control Plane

Routing table IS-IS learn switch IDs(SIDs) & build routing table

Page 2/2

Multidestination trees IS-IS elects the switch as a root and build multidestination forwarding trees

FabricPath Unicast - Data PlaneMAC table Hardware perform MAC table lookup for destination fabricpath switch(unicast) or to identify multidestination framesSwitch table Hardware perform destination switch IDs(SID)lookup to forward unicast frames to other switchesMultidestination table Hardware selects multidestination tree to forward multidestination frames through fabricpath network

Unicast ForwardingUnicast frame forwarding use mac address & switch id table base on switch roleFP Ingress Switch After reciving the CE frame ,switch will lookup for destination mac and find associated SID in macaddress table, and use switch id table to find nexthop switchFP Core Switch FP core lookup for destination SID in switch id table and find the next hop interface toward egress switchFP Egress Switch Lookup for switch id table and forward the frame to CE base on local identifier ID (LID) in the outer destination address (ODA) on egress switch mac address table

FabricPath Multicast - Control PlaneIGMP snooping operate at edge switch and feed multicast forwarding databaseFabricPath IS-IS learn multicast group membership from IGMP snooping on edge switchFabricPath edge switch announces group interest using GM-LSPs, creating "pruned trees" for each group on MDT

FabricPath Multicast - Data PlaneHardware selects which multidestination tree to use for each flow based on hash function; FTAG 1/2 for multicastOnce tree is selected, traffic constrained to pruned tree (FTAG) for that ip multicast group, base on mac table lookup

Multidestination Forwarding1- Ingress fabricpath switch determines which tree to use; Tree/Ftag# 1 (Broadcast, Unknown Unicast & Multicast),Tree/Ftag# 2 (Multicast)2a- For unknown unicast outer destination MAC set to "flood to fabric" multicast address(01:0F:FF:C1:01:C0) 2b- For multicast and broadcast the inner destination address (IDA) is copied to ODA of FP header 3- Other FP switch check tree ID chosen by ingress switch4- Egress FP switch removes fabricpath header and floods in VLAN based on frame header(broadcast/unknown...)

FabricPath Unicast - Data Plane

FabricPath System Architecture & DebuggingFabricPath Control Plane Components

FabricPath IS-IS routing protocol that buiild FP control planeDynamic Resource Allocation Protocol (DRAP) IS-IS extention to ensure unique and consistent SID & FTAG valueIGMP Provide IGMP at edge switch to build multicast forwarding databaseUnicast/Multicast Layer 2 RIB (U2RIB)/(M2RIB) best multicast/unicast layer 2 routing informationLayer 2 Forwarding Manager(L2FM) managing/control mac address tableMulticast Forwarding Distribution Manager (MFDM) Provide shim between platform-independent & platform-specific processes on I/O modulesUnicast/Multicast Layer 2 FIB (U2FIB)/(M2FIB) Managing hardware unicast/multicast routing tableMulticast Layer 2 FIB (M2FIB) Managing hardware multicast routing tableMAC Table Manager (MTM) Managing mac address table at hardware

Switch Table Containes Switch IDs and next-hop interfaceMAC Address Table Contains local and remote mac entriesOther HW Other component; Table memories, HW Registers

DRAP

FabriPath IS-IS

U2RIB M2RIB

MFDM

U2FIB M2FIB MTM

Switch Table Other HW MAC Table

SupervisorEngine

State Database (PSS)

Hardware Drivers

IGMP

L2FM

I/O Module

# Unicast Show commandShow fabricpath switch Show fabricpath conflict [all | link | switch | transit]Show fabricpath isis [switch | int | adj | data | route]Show fabricpath routeShow mac address-table# Multicast Show commandShow fabricpath isis [switch | tree | topology summary | database mgroup detail] Show fabricpath mrouteShow l2 multicast treesShow ip igmp snooping groups