Introduction to Shortest Path Bridging G G IEEE 802.1Aq
Total Page:16
File Type:pdf, Size:1020Kb
Introduction to Shortest Path Bridggging IEEE 802.1aq Don Fedyk, PLM Alcatel-Lucent, Editor IEEE 802.1aq donald.fedyk@alcatel -lucent.com October 12 1 Talk for Netnod October 2012 AGENDA •Introduction •What is SPB •SPB Details •SPB Applications/Futures •References 2 Talk for Netnod October 2012 Acknowledgements • SPB was a large Project in IEEE 802 over a number of years ~6. One of the longggpjer running 802. projects. • Many people contributed from many companies to get the work of standardization done. • This presentati on uses some materi al f rom: - Peter Ashwood-Smith Huawei[ [email protected]] • Other notable contributors to the project were: - Mick Seaman, Janos Farkas , Nigel Bragg, Paul Unbehagen, David Allan 3 Talk for Netnod October 2012 Ethernet Network Challenges • Layer 2 networks that scale. • Use of arbitraryypg mesh topologies. • Use of (multiple) shortest paths. • Efficient broadcast/multicast routing and replication points. • AidddlAvoid address learni ng b btdy tandem d dievices. • Get recovery times into 100’s of millisecond range for larger topologies. • Good scaling without loops. • Allow creation of very many logical L2 topologies (subnets) of arbitrary span. • Maintain all L2 ppproperties within the log ical L2 top olog ies • Reuse all existing Ethernet OA&M 802.1ag/Y.1731 BtMBut Moore ’s law an dtd tec hno logy tren ds are on our s id!ide! 4 Talk for Netnod October 2012 The Problem: Scaling Native Ethernet (Spanning Tree) Inneficient routes 2 MACs Destination-2 M1…M100 Source ROOT bridge 1 Cannot use 3 these links All the nodes on the route need to learn MAC’s M1-M100 Destination-1 Talk for Netnod October 2012 The IEEE 802.1 Solution: SPB • SPB is a Link State Control protocol for Ethernet • Specifically an instance of IS-IS protocol for exchanging Bridge Properties: • SystemIDs + Priority = Bridge Identifiers • Link Attributes (Metrics) • Backbone MAC addresses & Multicast I-SIDs (SPBM) • SPB Has Two Modes • SPB for MACs (SPBM) for PBB or MAC in MAC (MAC Learning on the Edge) • SPB for VIDs (SPBV) for QinQ of VLAN bridges. (MAC Learning) • All Ethernet data planes existed prior to SPB (next Chart) • What SPB provides Topology for: • Shortest path Unicast/Multicast • Efficient Multicast replication 6 Talk for Netnod October 2012 What are Ethernet data planes? Provider Backbone Bridges 802.1ah Encapsulation for virtualization is important in Provider Bridges many networks 802.1ad Ethernet Ethertype VLAN C-VID SA = Source MAC address Ethernet C-TAG DA = Destination MAC address 802.3 S-VID S-TAG VID = VLAN ID SA C-VID = Customer VID Ethertype DA S-VID = Service VID C-VID I-SID I-SID = Service ID Ethertype C-TAG I-TAG C-VID S-VID B-VID BBVID-VID = Backbone VID Ethertype Q-TAG S-TAG B-TAG CittConsistent SA SA SA B-SA B-DA = Backbone DA Forwarding B-SA = Backbone SA DA DA DA B-DA 1998 2005 2008 Standard Approved It is a very good Data Plane! 7 Talk for Netnod October 2012 Pushing Scale in Ethernet Single Domain networks IEEE 802.1aq SPBV SPBM Enterprise Network Access Network Metro Core Network • Plug & Play • Reliability • Reliability • Easy to operate • Bandwidth efficiency • Auto-discovery • Unknown addresses • Unknown or managed • Load sharing addresses • Managed addresses MAC learning MAC learning in data planeDtData Cen ter in control plane VLANS Using Scale today of IS-IS (one SPBM Domain of 1000 nodes) Easily address Millions of devices Why? Orthogonal Address, Service and Topology 8 Talk for Netnod October 2012 Properties of the Ethernet Data Plane • Congruency - Multicast and Unicast • Symmetry - Forward path and Reverse Path • Determinism - Allows parallel computation of paths • MAC Learning/Flood Containment - Plug and play operations - Contain MAC Learning in SPBM BMACs distributed , Edge learning only • OAM Capable - Congruency, Determinism, Symmetry enable CCM, LBM, LTM, performance etc 9 Talk for Netnod October 2012 Congruency & Symmetry Shortest path between any two points is both the same and symmetrical for unicast and multicast D E C H A J G Bridge “A” B F I Same Forward and Reverse Shortest Path Learning SPBV, OAM, Frame Ordering 10 Talk for Netnod October 2012 Implementation of Congruency & Symmetry • Tie-breaking extension to Dijkstra for the case of equal cost multiple paths - Sorted List of transit node IDs comprising a path are unique/deterministic. Ranking them produce deterministic default winner. - {2,6} < {3,7} < {4,7} 1 Bridge3 1 1 Bridge7 1 1 Bridge1 1 Bridge4 Bridge5 1 1 Bridge2 Bridge6 • Same algorithm is used both for unicast and multicast 11 Talk for Netnod October 2012 Equal Cost Trees (ECTs) Green and Blue Costs are equal A-C-DandAD and A-B-D D E C H A J G Bridge “A” B F I Optional Multipath Load Balancing different services 12 Talk for Netnod October 2012 Implementation of ECTs • 16 trees are created by applying the previous algorithm AFTER XORing BridgeID’s with 16 different bit-masks. • Example XORing with 0xff… ff (invert) selects largest ranked path so {~7, ~4} wins.. 1 MASKS | B-VID Bridge3 1 0x00 Low 0110x11 1 0x22 1 Bridge7 0x33 1 0x44 0x55 Bridge1 1 Bridge4 Bridge5 0x66 1 0x77 0x88 1 Bridge2 0x99 0xAA Bridge6 0xBB 0xCC 0xDD • Each mask is assigned to a B-VID (SPBM mode) 0xEE High 0xFF 13 Talk for Netnod October 2012 SPBM Multicast Groups I-SID 5 Multicast I-SID 5 Forwarding for D I-SID 5 E C H A J G Bridge “A” B I-SID 5 No Multicast F I Forwarding for I- SID 5 (Shortest I-SID 5 path to E bu t no t part of the tree) I-SIDs define efficient subsets 14 Talk for Netnod October 2012 SPBM Multicast P2MP Multicast I-SID 45 Forwarding for D I-SID 45 E Leaf C H I-SID 45 Leaf A J G Bridge “A” B I-SID 45 Root F I I-SID 45 Leaf E-TREE I-SIDs Root to/From Leaf only 15 Talk for Netnod October 2012 SPBM Multicast Addresses The SPBM Trifecta • By constructing local IEEE Multicast Addresses the Control Plane has comppylete flexibility to build multicast trees. • Computation, Source Identification, Service Identification 16 Talk for Netnod October 2012 Loop Prevention • Loop Prevention (Not new) - Policyyp : Loop Free b y never allowin gpg a loop to form - “Never forward a Frame unless the neighbor node has agreed to accept it” - Mechanism: Don’t populate an FDB entry until you synchronize with next-hop neighbor. • Loop Mitigation (New for Ethernet) - Policy: Discard potential looping frames - “NeverNever accept a Frame from a neighbor node that you do not expect” - Mechanism: Ingress check. Source DA/VID must be expected. Local Policy. - Loop Prevention is sufficient, but Loop Mitigation is faster during changes - Loop Prevention for Multicast and Loop Mitigation for Multicast and Unicast 17 Talk for Netnod October 2012 Load Sharing - Visually All links usable Slide Courtesy of Peter Ashwood-Smith Huawei 18 Talk for Netnod October 2012 Applications • Spanning Tree Protocol replacement in native Ethernet networks • Data Center or layer-2 Internet Exchange Point - Allows the creation of a large and scalable layer-2 fabric in the DC where all the links are used (active/active topologies) and VM/servers/routers can freely move anywhere • Layer-2 VPNs transport - Enhances scalabilityyyy and flexibility for layer-2 VPNs - All the MEF services are supported: ELINE, ELAN, ETREE* 19 Talk for Netnod October 2012 Is SPB Real ? • SPBM Data path (PBB) and OA&M already wide spread use. • Multiple Vendors shipping product , Alcatel -Lucent, Avaya INTERWORKING: - Three Inter-workingg(), events. Last one June 27 2011 : Huawei (host), Alcatel- Lucent, Avaya, Solana, Spirent BASE STANDARDS: - IETF: - RFC 6329. - IEEE: - IEEE 802.1aq Published June 2012 20 Talk for Netnod October 2012 SPBM Futures • 802.1Qpb Equal Cost Multiple Path - Some Ethernet networks have many paths (Fat Tree, Dense Mesh etc. ) - ECMP enables per hop load balancing - Shared Trees for multicast - Reduces multicast state - Enable ECMP for multicast on per Tree Basis - OOaAM Enhancements - Loss of Symmetry and Congruency needs OAM enhancements to maintain OAM capability. - Data Plane Enabler - New TAG with Flow ID and TTL. • Traffic Engineering? 802.1 AVB group interest 21 Talk for Netnod October 2012 References • “IEEE Std 802.1aq-2012” Media Access Control (MAC) Bridges and Virtual Bridged Local Area Networks—Amendment 20: Shortest Path Bridging • RFC 6329 “IS-IS Extensions Supporting IEEE 802 .1aq Shortest Path Bridging” http://datatracker.ietf.org/doc/rfc6329/ • “IEEE 802.1Qbp Task Group Project” Virtual Bridged Local Area Networks — Amendment: Equal Cost Multiple Paths (ECMP) Work in Progress . • “IEEE 802.1aq” : www.wikipedia.org: http://en.wikipedia.org/wiki/IEEE_802.1aq • “Shortest Path Bridging – Efficient Control of Larger Ethernet Networks” : IEEE Communications Magazine – Oct 2010 • “ProviderProvider Link State Bridging” : IEEE Communications Magazine V46/N9– Sept 2008 • http://ieee802.org/1/files/public/docs2011/aq-ashwood-smith-spbm-3rd- itinterop-0718-v01.p df • 22 Talk for Netnod October 2012 Thank You Questions? 23 Talk for Netnod October 2012 Glossary • B-MAC Backbone MAC • OAM Operations, Administration and • BEB Backbone Edge Bridge Maintenance • BCB Backbone Core Bridge • P2MP Point to Multipoint • CCM Continuity Check Message • PB Provider Bridges IEEE 802.1ad • C-VID Customer VID • PBB Provider Backbone Bridging IEEE 802.1ah • CFM Connectivity Fault Management 802.1ag • QinQ see PB • ELINE Ethernet Point to Point Service • S-VID Service VID • ELAN Ethernet LAN Service • SPB Shortest Path Bridging IEEE 802.1aq • ETREE Ethernet Hub and Spoke Service • SPBM Shortest Path Bridging MAC • FDB Filtering Data Base • SPBV Shortest Path Bridging VID • I-SID (802.1ah) Service Identifier • SPT Shortest Path Tree • IS-IS Intermediate System to Intermediate • STP Spanning tree protocol System (IGP) • RSTP Rapid Spanning tree protocol • LAN Local A rea N et work • TTL Ti me T o Li ve • LTM Link Trace Message • VID VLAN Identifier • LBM Loop back Message • VLAN Virtual LAN • MAC Media Access Control • MACinMAC see PBB 24 Talk for Netnod October 2012.