Hubbry Logo
IEEE 802.1aqIEEE 802.1aqMain
Open search
IEEE 802.1aq
Community hub
IEEE 802.1aq
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
IEEE 802.1aq
IEEE 802.1aq
from Wikipedia

IEEE 802.1aq is an amendment to the IEEE 802.1Q networking standard which adds support for Shortest Path Bridging (SPB). This technology is intended to simplify the creation and configuration of Ethernet networks while enabling multipath routing.[1][2][3]

SPB is designed to replace the older Spanning Tree Protocols: IEEE 802.1D STP, IEEE 802.1w RSTP, and IEEE 802.1s MSTP. These block any redundant paths that can result in a switching loop, whereas SPB allows all paths to be active with multiple equal-cost paths, provides much larger layer-2 topologies,[4] supports faster convergence times, and improves the efficiency by allowing traffic to load share across all paths of a mesh network.[5][6][7][8] It is designed to preserve the plug-and-play nature that established Ethernet as the de facto protocol at layer 2.

The technology provides VLANs on native Ethernet infrastructures using a link-state protocol to advertise both topology and VLAN membership. Packets are encapsulated at the edge either in MAC-in-MAC per IEEE 802.1ah or tagged per IEEE 802.1Q or IEEE 802.1ad and transported only to other members of VLAN. Unicast, multicast, and broadcast are supported and all routing is on symmetric shortest paths.

The control plane is based on the Intermediate System to Intermediate System (IS-IS) routing protocol, leveraging a small number of extensions defined in RFC 6329.[9]

History

[edit]

On 4 March 2006 the working group posted 802.1aq draft 0.1.[10] In March 2012 the IEEE approved the 802.1aq standard.[11]

In May 2013, the first public multivendor interoperability was demonstrated as SPB served as the backbone for Interop 2013 in Las Vegas.[12] In 2013 and 2014 SPB was used to build the InteropNet backbone with only one-tenth the resources of prior years.[13] During Interop 2014 SPB was used as the backbone protocol which can enable software-defined networking (SDN) functionalities.[14][15]

The 2014 Winter Olympics were the first "fabric-enabled" Games using SPB "IEEE 802.1aq" technology.[16][17] During the games this fabric network could handle up to 54 Tbit/s of traffic.[18]

Associated protocols

[edit]
  • IEEE 802.1Q-2014 - Bridges and Bridged Networks - This standard incorporates Shortest Path Bridging (IEEE 802.1aq) with the following: IEEE Std 802.1Q-2011, IEEE Std 802.1Qbe-2011, IEEE Std 802.1Qbc-2011, IEEE Std 802.1Qbb-2011, IEEE Std 802.1Qaz-2011, IEEE Std 802.1Qbf-2011, IEEE Std 802.1Qbg-2012, IEEE Std 802.1Q-2011/Cor 2–2012, and IEEE Std 802.1Qbp-2014, and much functionality previously specified in 802.1D.[19]
  • IEEE 802.1ag - Connectivity Fault Management (CFM)
  • IEEE 802.1Qbp - Equal Cost Multiple Paths in Shortest Path Bridging[20]
  • IEEE P802.1Qcj - Automatic Attachment to Provider Backbone Bridging (PBB) services[21]
  • RFC 6329 - IS-IS Extensions Supporting IEEE 802.1aq Shortest Path Bridging

RFC 6329

[edit]

The Intermediate System to Intermediate System (IS-IS) protocol, as defined in the IETF proposed standard RFC 6329, is used as the control plane for SPB.[22][23][24][25] SPB requires no state machine or other substantive changes to IS-IS, and simply requires a new Network Layer Protocol Identifier (NLPID) and set of TLVs.[9]: Section 13 

SPB allows for shortest-path forwarding in a mesh-connected Ethernet network utilizing multiple equal-cost paths. This permits SPB to support large Layer 2 topologies, with faster convergence, and improved use of the mesh topology when compared to networks configured with Spanning Tree Protocol. SPB augments IS-IS with a small number of TLVs and sub-TLVs, and supports two Ethernet encapsulating data paths, IEEE 802.1ad provider bridges (PB) and IEEE 802.1ah Provider Backbone Bridges (PBB).

SPB is designed to run in parallel with other network-layer protocols such as IPv4 and IPv6. Standards mandate that the failure of two nodes to establish an SPB adjacency will not have a collateral impact, such as the rejection of an adjacency for other network-layer protocols (e.g. OSPF).

Protocol extensions

[edit]

The IS-IS extensions defined in RFC 6329 that deliver standardized support for 802.1aq SPB are:

  • IS-IS Hello (IIH) Protocol Extensions
  • Node Information Extensions
  • Adjacency Information Extensions
  • Service Information Extensions
IS-IS Hello (IIH) protocol extensions
[edit]

802.1aq has been designed to operate in parallel with other network layer protocols such as IPv4 and IPv6; therefore, failure of two nodes to establish an SPB adjacency will not cause network layer protocols to also reject an adjacency. RFC 6328 assigns 802.1aq the Network Layer Protocol ID (NLPID) value 0xC1.[26] This NLPID is used by SPB Bridges to indicate their ability to form adjacencies and operate as part of an 802.1aq domain. 802.1aq frames flow on adjacencies that advertise this NLPID in both directions, and nodes regard an adjacency that has not been advertised in both directions as non-existent (with infinite link metric). 802.1aq augments the normal IIH PDU with three new TLVs, which like all other SPB TLVs, travel within Multi-Topology TLVs, therefore allowing multiple logical instances of SPB within a single IS-IS protocol instance.

SPB can use many VIDs, agreeing on which VIDs are used for which purposes. The IIH PDUs carry a digest of all the used VIDs, referred to as the Multiple Spanning Tree Configuration TLV which uses a common and compact encoding reused from IEEE 802.1Q.

For the purposes of loop prevention SPB neighbors may also support a mechanism to verify that the contents of their topology databases are synchronized. Exchanging digests of SPB topology information, using the optional SPB-Digest sub-TLV, allows nodes to compare information and take specific action where a mismatch in topology is indicated.

Finally, SPB needs to know which shortest path tree (SPT) sets are being used by which VIDs, and this is carried in the Base VLAN Identifiers TLV.

Node information extensions
[edit]

All SPB nodal information extensions travel within a new Multi-Topology (MT) capability TLV. There can be one or many MT-Capability TLVs present, depending on the amount of information that needs to be carried.

The SPB Instance sub-TLV gives the Shortest Path Source ID (SPSourceID) for this node or topology instance. This is used in the formation of multicast destination addresses (DAs) for frames originating from this node or instance.

There are multiple ECT algorithms defined for SPB and additional algorithms may be defined in the future including but not limited to ECMP- or hash-based behaviors and (*,G) Multicast trees. These algorithms will use this optional TLV to define new algorithm parametric data. For tie-breaking parameters, there are two broad classes of algorithms, one that uses nodal data to break ties and one that uses link data to break ties. The SPB Instance Opaque Equal cost Tree Algorithm TLV is used to associate opaque tie-breaking data with a node.

Adjacency information extensions
[edit]

The SPB Link Metric sub-TLV occurs within the Multi-Topology Intermediate System Neighbor TLV or within the Extended IS Reachability TLV. SPB Adjacency Opaque Equal Cost Tree Algorithm TLV also occurs within the Multi-Topology Intermediate System TLV or the Extended IS Reachability TLV. Where this sub-TLV is not present for an IS-IS adjacency, that adjacency will not carry SPB traffic for the given topology instance.

Service information extensions
[edit]

The SPBM Service Identifier and Unicast Address TLV is used to introduce service group membership on the originating node or to advertise an additional B-MAC unicast address present on, or reachable by the node. The SPBV MAC Address TLV is the IS-IS sub-TLV used for advertisement of group MAC addresses in SPBV mode.

Benefits

[edit]

Shortest Path Bridging-VID (SPBV) and Shortest Path Bridging-MAC (SPBM) are two operating modes of 802.1aq. Both inherit key benefits of link state routing:

  • the ability to use all available physical connectivity, because loop avoidance uses a control plane with a global view of network topology
  • fast restoration of connectivity after failure, again because of link state routing's global view of network topology
  • under failure, the property that only directly affected traffic is impacted during restoration
  • rapid restoration of broadcast and multicast connectivity, because IS-IS floods all of the required information in the SPB extensions to IS-IS, thereby allowing unicast and multicast connectivity to be installed in parallel, with no need for a second phase signaling process to run over the converged unicast topology to compute and install multicast trees.

SPBM offers emulation of a transparent Ethernet LAN segment. It implements VLANs with scoped multicast trees, which means no egress discard of broadcast, unknown-unicast and multicast traffic, a feature common to approaches that use a small number of shared trees, hence the network does not simply degrade with size as the percentage of frames discarded goes up.

The carrier-space equivalent of this application is the delivery of Ethernet VPN services to Enterprises over common carrier infrastructure. The required attributes are fundamentally the same; complete transparency for customer Ethernet services (both point-to-point and LAN), and complete isolation between one customer's traffic and that of all other customers.

A further consequence of SPBM's transparency in both data plane and control plane is that it delivers the MEF 6.1 service set. It also provides the carrier with the toolkit to support geo-redundant broadband backhaul; in these applications, many DSLAMs or other access equipment must be backhauled to multiple Broadband Remote Access Server (BRAS) sites, with application-determined binding of sessions to a BRAS. However, DSLAMs must not be allowed to communicate with each other, because carriers then lose the ability to control peer-to-peer connectivity. MEF E-TREE does just this, and further provides an efficient multicast fabric for the distribution of IPTV.

SPBM offers both an ideal multicast replication model, where packets are replicated only at fork points in the shortest path tree that connects members, and also the less state-intensive head-end replication model where in essence serial unicast packets are sent to all other members along the same shortest path first tree. These two models are selected by specifying properties of the service at the edge which affect the transit node decisions on multicast state installation. This allows for a trade-off to be made between optimum transit replication points (with their larger state costs) vs. reduced core state (but much more traffic) of the head-end replication model. These selections can be different for different members of the same Individual Service ID (I-SID) allowing different trade-offs to be made for different members.

Figure 5 below is a quick way to understand what SPBM is doing on the scale of the entire network. Figure 5 shows how a 7-member E-LAN is created from the edge membership information and the deterministic distributed calculation of per source, per service trees with transit replication. Head-end replication is not shown as it is trivial and simply uses the existing unicast FIBs to forward copies serially to the known other receivers.

Operations and management

[edit]

802.1aq builds on all existing Ethernet operations, administration and management (OA&M). Since 802.1aq ensures that its unicast and multicast packets for a given virtual LAN (VLAN) follow the same forward and reverse path and use completely standard 802 encapsulations, all the methods of IEEE 802.1ag and Y.1731[27] operate unchanged on an 802.1aq network.

High level

[edit]

802.1aq is the IEEE-sanctioned link state Ethernet control plane for all IEEE VLANs covered in IEEE 802.1Q.[28] The Shortest Path Bridging virtual local area network identifier (VLAN ID) or Shortest Path Bridging VID (SPBV) provides a capability that is backward compatible with spanning tree technologies. The SPBM provides additional values that use Provider Backbone Bridge (PBB) capabilities. SPB (the generic term for both) combines an Ethernet data path (either IEEE 802.1Q in the case of SPBV, or PBBs per IEEE 802.1ah in the case of SPBM) with an IS-IS link state control protocol running between Shortest Path bridges (Network-to-network interface (NNI) links). The link state protocol is used to discover and advertise the network topology and compute SPTs from all bridges in the SPT Region.

In SPBM, the backbone MAC (B-MAC) addresses of the participating nodes and also the service membership information for interfaces to non-participating devices (User–network interface (UNI) ports) is distributed. Topology data is then input to a calculation engine which computes symmetric shortest path trees based on minimum cost from each participating node to all other participating nodes. In SPBV these trees provide a shortest path tree where individual MAC address can be learned and group address membership can be distributed. In SPBM the shortest path trees are then used to populate forwarding tables for each participating node's individual B-MAC addresses and for group addresses; Group multicast trees are subtrees of the default shortest path tree formed by (source, group) pairing. Depending on the topology, several different equal-cost multi-path trees are possible and SPB supports multiple algorithms per IS-IS instance.

In SPB as with other link-state-based protocols, the computations are done in a distributed fashion. Each node computes the Ethernet-compliant forwarding behavior independently based on a normally synchronized common view of the network and UNI ports. Ethernet filtering Database (or forwarding) tables are populated locally to independently and deterministically implement its portion of the network forwarding behavior.

The two different flavors of data path give rise to two slightly different versions of this protocol. One (SPBM) is intended where complete isolation of many separate instances of client LANs and their associated device MAC addresses is desired, and it therefore uses a full encapsulation (MAC-in-MAC a.k.a. IEEE 802.1ah). The other (SPBV) is intended where such isolation of client device MAC addresses is not necessary, and it reuses only the existing VLAN tag on participating NNI links. Chronologically SPBV came first, with the project originally being conceived to address scalability and convergence of MSTP.

At the time the specification for PBB was progressing it became apparent that leveraging both the PBB data plane and a link state control plane would significantly extend Ethernet's capabilities and applications. Provider Link State Bridging (PLSB) was a straw man proposal brought to the IEEE 802.1aq Shortest Path Bridging Working Group, to provide a concrete example of such a system. As IEEE 802.1aq standardization progressed, some of the detailed mechanisms proposed by PLSB were replaced by functional equivalents, but all of the key concepts embodied in PLSB were carried forward into the standard.

Shortest Path Bridging-VID

[edit]

A primary feature of Shortest Path Bridging is the ability to use link state IS-IS to learn network topology. In SPBV the mechanism used to identify the tree is to use a different Shortest Path VLAN ID (SPVID) for each source bridge. The IS-IS topology is used both to allocate unique SPVIDs and to enable shortest path forwarding for individual and group addresses. Originally targeted for small, low-configuration networks, SPB grew into a larger project encompassing the latest provider control plane for SPBV and harmonizing the concepts of Ethernet's data plane.

SPB defines a shortest path region which is the boundary of the shortest path topology and the rest of the VLAN topology, which may be any number of legacy bridges. SPB operates by learning the SPB-capable bridges and growing the region to include the SPB-capable bridges that have the same Base VID and MSTID configuration digest (Allocation of VIDs for SPB purposes).

SPBV builds shortest-path trees that support loop prevention and optionally support loop mitigation on the SPVID. SPBV still allows learning of Ethernet MAC addresses but it can distribute multicast addresses that can be used to prune the shortest path trees according to the multicast membership either through Multiple MAC Registration Protocol (MMRP) or directly using IS-IS distribution of multicast membership.

SPBV builds shortest-path trees but also interworks with legacy bridges running Rapid Spanning Tree Protocol and Multiple Spanning Tree Protocol (MSTP). SPBV uses techniques from MSTP regions to interwork with non-SPT regions behaving logically as a large distributed bridge as viewed from outside the region.

SPBV supports shortest path trees but SPBV also builds a spanning tree which is computed from the link state database and uses the Base VID. This means that SPBV can use this traditional spanning tree for computation of the common and internal spanning tree (CIST). The CIST is the default tree used to interwork with other legacy bridges. It also serves as a fallback spanning tree if there are configuration problems with SPBV.

SPBV has been designed to manage a moderate number of bridges. SPBV differs from SPBM in that MAC addresses are learned on all bridges that lie on the shortest path and shared VLAN learning is used since destination MACs may be associated with multiple SPVIDs. SPBV learns all MACs it forwards even outside the SPBV region.

Shortest Path Bridging-MAC

[edit]

Shortest Path Bridging-MAC (SPBM) reuses the PBB data plane which does not require that the Backbone Core Bridges (BCB) learn encapsulated client addresses. At the edge of the network the C-MAC (client) addresses are learned. SPBM is very similar to Provider Link State Bridging (PLSB) using the same data and control planes but the format and contents of the control messages in PLSB are not compatible.

Individual MAC frames of unicast traffic from an Ethernet-attached device that are received at the SPBM edge are encapsulated in a PBB IEEE 802.1ah header and then traverse the IEEE 802.1aq network unchanged until they are stripped of the encapsulation as they egress back to the non-participating attached network at the far side of the participating network.

Ethernet destination addresses (from UNI port attached devices) perform learning over the logical LAN and are forwarded to the appropriate participating B-MAC address to reach the far end Ethernet destination. In this manner, Ethernet MAC addresses are never looked up in the core of an IEEE 802.1aq network. When comparing SPBM to PBB, the behavior is almost identical to a PBB IEEE 802.1ah network. PBB does not specify how B-MAC addresses are learned and PBB may use a spanning tree to control the B-VLAN. In SPBM the main difference is that B-MAC address are distributed or computed in the control plane, eliminating the B-MAC learning in PBB. Also SPBM ensures that the route followed is the shortest path tree.

The forward and reverse paths used for unicast and multicast traffic in an IEEE 802.1aq network are symmetric. This symmetry permits IEEE 802.1ag Continuity Fault Management (CFM) to operate unchanged for SPBV and SPBM and has desirable properties with respect to time distribution protocols such as Precision Time Protocol.

Group address and unknown destination individual frames are optimally transmitted to only members of the same Ethernet service. IEEE 802.1aq supports the creation of thousands of logical Ethernet services in the form of E-LINE, E-LAN or E-TREE constructs, which are formed between non-participating logical ports of the IEEE 802.1aq network. These group address packets are encapsulated with a PBB header, which indicates the source participating address in the SA while the DA indicates the locally significant group address this frame should be forwarded on and which source bridge where the frame originated. The IEEE 802.1aq multicast forwarding tables are created based on computations such that every bridge that is on the shortest path between a pair of bridges that are members of the same service group will create proper forwarding database (FDB) state to forward or replicate frames it receives to those members of that service group. Since the group address computation produces shortest path trees, there is only ever one copy of a multicast packet on any given link. Since only bridges on the shortest path between participating logical ports create FDB state, the multicast makes efficient use of network resources.

The actual group address forwarding operation operates more or less identically to classical Ethernet; the backbone destination address (B-DA)+ backbone VLAN identifier (B-VID) combination are looked up to find the egress set of next hops. The only difference compared with classical Ethernet is that reverse learning is disabled for participating bridge backbone media access control (B-MAC) addresses and is replaced with an ingress check and discard (when the frame arrives on an incoming interface from an unexpected source). Learning is however implemented at the edges of the SPBM multicast tree to learn the B-MAC to MAC address relationship for correct individual frame encapsulation in the reverse direction (as packets arrive over the interface).

Properly implemented, an IEEE 802.1aq network can support up to 1000 participating bridges and provide tens of thousands of layer-2 E-LAN services to Ethernet devices. This can be done by simply configuring the ports facing the Ethernet devices to indicate they are members of a given service. As new members come and go, the IS-IS protocol will advertise the I-SID membership changes and the computations will grow or shrink the trees in the participating node network as necessary to maintain the efficient multicast property for that service.

IEEE 802.1aq has the property that only the point of attachment of a service needs configuration when a new attachment point comes or goes. The trees produced by the computations will automatically be extended or pruned as necessary to maintain connectivity. In some existing implementations, this property is used to automatically (as opposed to through configuration) add or remove attachment points for dual-homed technologies such as rings to maintain optimum packet flow between a nonparticipating ring protocol and the IEEE 802.1aq network by activating a secondary attachment point and deactivating a primary attachment point.

Failure recovery

[edit]

Failure recovery is driven by IS-IS with the link failure being advertised and new computations being performed, resulting in new FDB tables. Since no Ethernet addresses are advertised or known by IS-IS, there is no re-learning required by the SPBM core and its learned encapsulations are unaffected by a transit node or link failure.

Link failure detection may be improved using IEEE 802.1ag Continuity Check Protocol (CCP), which tests link status and reports a failure to the IS-IS protocol. This allows much faster failure detection than is possible using the IS-IS hello message loss mechanisms.

Both SPBV and SPBM inherit the rapid convergence of a link-state control plane. A special attribute of SPBM is its ability to rebuild multicast trees in a similar time to unicast convergence, because it substitutes computation for signaling. When an SPBM bridge has performed the computations on a topology database, it knows whether it is on the shortest path between a root and one or more leaves of the SPT and can install state accordingly. Convergence is not gated by incremental discovery of a bridge's place on a multicast tree by the use of separate signaling transactions. However, SPBM on a node does not operate completely independently of its peers and enforces agreement on the current network topology with its peers. This very efficient mechanism uses the exchange of a single digest of link state covering the entire network view, and does not need agreement on each path to each root individually. The result is that the volume of messaging exchanged to converge the network is in proportion to the incremental change in topology and not the number of multicast trees in the network. A simple link event that may change many trees is communicated by signaling the link event only; the consequent tree construction is performed by local computation at each node. The addition of a single service access point to a service instance involves only the announcement of the I-SID, regardless of the number of trees. Similarly, the removal of a bridge, which might involve the rebuilding of hundreds to thousands of trees, is signaled only with a few link-state updates.

In a multi-chassis link aggregation group environment, multiple switch chassis appear as a single switch to the SPB control plane, and multiple links between pairs of chassis appear as an aggregate link. In this context, a single link or node failure is not seen by the control plane and is handled locally, potentially resulting in sub-50 ms recovery times.[citation needed]

Animations

[edit]

Three animated GIFs in this section help to show the behavior of 802.1aq.

The first of these gifs, shown in Figure 5, demonstrates the routing in a 66-node network where we have created a 7-member E-LAN using ISID 100. In this example, we show the equal cost tree (ECT) created from each member to reach all of the other members. We cycle through each member to show the full set of trees created for this service. We pause at one point to show the symmetry of routing between two of the nodes and emphasize it with a red line. In each case, the source of the tree is highlighted with a small purple V.

The second of these animated gifs, shown in Figure 6, demonstrates 8 ECT paths in the same 66 node network as Figure 4. In each subsequent animated frame the same source is used (in purple) but a different destination is shown (in yellow). For each frame, all of the shortest paths are shown superimposed between the source and destination. When two shortest paths traverse the same hop, the thickness of the lines being drawn is increased. In addition to the 66 node network, a small multi level Data Center style network is also shown with sources and destinations both within the servers (at the bottom) and from servers to the router layer at the top. This animation helps to show the diversity of the ECT being produced.

The last of these animated gifs, shown in Figure 7, demonstrates source-destination ECT paths using all 16 of the standard algorithms currently defined.

Details

[edit]

Equal cost multi tree

[edit]

Sixteen equal cost multi tree (ECMT) paths are initially defined, however there are many more possible. ECMT in an IEEE 802.1aq network is more predictable than with internet protocol (IP) or multiprotocol label switching (MPLS) because of symmetry between the forward and reverse paths. The choice as to which ECMT path will be used is therefore an operator assigned head end decision while it is a local / hashing decision with IP/MPLS.

IEEE 802.1aq, when faced with a choice between two equal link cost paths, uses the following logic for its first ECMT tie breaking algorithm: first, if one path is shorter than the other in terms of hops, the shorter path is chosen, otherwise, the path with the minimum Bridge Identifier { BridgePriority concatenated with (IS-IS SysID) } is chosen. Other ECMT algorithms are created by simply using known permutations of the BridgePriority||SysIds. For example, the second defined ECMT algorithm uses the path with the minimum of the inverse of the BridgeIdentifier and can be thought of as taking the path with the maximum node identifier. For SPBM, each permutation is instantiated as a distinct B-VID. The upper limit of multipath permutations is gated by the number of B-VIDs delegated to 802.1aq operation, a maximum of 4094, although the number of useful path permutations would only require a fraction of the available B-VID space. Fourteen additional ECMT algorithms are defined with different bit masks applied to the BridgeIdentifiers. Since the BridgeIdentifier includes a priority field, it is possible to adjust the ECMT behavior by changing the BridgePriority up or down.

A service is assigned to a given ECMT B-VID at the edge of the network by configuration. As a result, non-participating packets associated with that service are encapsulated with the VID associated with the desired ECMT end to end path. All individual and group address traffic associated with this service will therefore use the proper ECMT B-VID and be carried symmetrically end to end on the proper equal cost multi path. Essentially the operator decides which services go in which ECMT paths, unlike a hashing solution used in other systems such as IP/MPLS. Trees can support link aggregation (LAG) groups within a tree "branch" segment where some form of hashing occurs.

This symmetric and end-to-end ECMT behavior gives IEEE 802.1aq a highly predictable behavior and offline engineering tools can accurately model exact data flows. The behavior is also advantageous to networks where one-way delay measurements are important. This is because the one way delay can be accurately computed as 1/2 the round-trip delay. Such computations are used by time distribution protocols such as IEEE 1588 for frequency and time-of-day synchronization as required between precision clock sources and wireless base stations.

Shown above are three figures [5,6,7] which show 8 and 16 equal cost tree (ECT) behavior in different network topologies. These are composites of screen captures of an 802.1aq network emulator and show the source in purple, the destination in yellow, and then all the computed and available shortest paths in pink. The thicker the line, the more shortest paths use that link. The animations show three different networks and a variety of source and destination pairs which continually change to help visualize what is happening.

The equal cost tree (ECT) algorithms can be almost extended through the use of OPAQUE data which allows extensions beyond the base 16 algorithms more or less infinitely. It is expected that other standards groups or vendors will produce variations on the currently defined algorithms with behaviors suited for different networks styles. It is expected that numerous shared tree models will also be defined, as will hop by hop hash based equal-cost multi-path (ECMP) style behaviors .. all defined by a VID and an algorithm that every node agrees to run.

Traffic engineering

[edit]

802.1aq does not spread traffic on a hop-by-hop basis. Instead, 802.1aq allows assignment of a Service ID (ISID) to a VLAN ID (VID) at the edge of the network. A VID will correspond to exactly one of the possible sets of shortest path nodes in the network and will never stray from that routing. If there are 10 or so shortest paths between different nodes, it is possible to assign different services to different paths and to know that the traffic for a given service will follow exactly the given path. In this manner traffic can easily be assigned to the desired shortest path. In the event that one of the paths becomes overloaded it is possible to move some services off that shortest path by reassigning those service's ISID to a different, less loaded, VID at the edges of the network.

The deterministic nature of the routing makes offline prediction/computation/experimentation of the network loading much simpler since actual routes are not dependent on the contents of the packet headers except for the VLAN identifier.

Figure 4 - Equal Cost Shortest Path: assignment to services

Figure 4 shows four different equal-cost paths between nodes 7 and 5. An operator can achieve a relatively good balance of traffic across the cut between nodes [0 and 2] and [1 and 3] by assigning the services at nodes 7 and 5 to one of the four desired VIDs. Using more than 4 equal cost tree (ECT) paths in the network will likely allow all 4 of these paths to be used. Balance can also be achieved between nodes 6 and 4 in a similar manner.

In the event that an operator does not wish to manually assign services to shortest paths it is a simple matter for a switch vendor to allow a simple hash of the ISID to one of the available VIDS to give a degree of non-engineered spreading. For example, the ISID modulo the number of ECT-VIDs could be used to decide on the actual relative VID to use.

In the event that the ECT paths are not sufficiently diverse the operator has the option of adjusting the inputs to the distributed ECT algorithms to apply attraction or repulsion from a given node by adjusting that node's Bridge Priority. This can be experimented with via offline tools until the desired routes are achieved at which point the bias can be applied to the real network and then ISIDs can be moved to the resulting routes.

Looking at the animations in Figure 6 shows the diversity available for traffic engineering in a 66 node network. In this animation, there are 8 ECT paths available from each highlighted source to destination and therefore services could be assigned to 8 different pools based on the VID. One such initial assignment in Figure 6 could therefore be (ISID modulo 8) with subsequent fine tuning as required.

Example

[edit]
Figure 1 - example nodes, links and interface indexes

We will work through SPBM behavior on a small example, with emphasis on the shortest-path trees for unicast and multicast.

The network shown in Figure 1 consists of 8 participating nodes numbered 0 through 7. These would be switches or routers running the IEEE 802.1aq protocol. Each of the 8 participating nodes has a number of adjacencies numbered 1..5. These would likely correspond to interface indexes, or possibly port numbers. Since 802.1aq does not support parallel interfaces each interface corresponds to an adjacency. The port / interface index numbers are of course local and are shown because the output of the computations produce an interface index (in the case of unicast) or a set of interface indexes (in the case of multicast) which are part of the forwarding information base (FIB) together with a destination MAC address and backbone VID.

The network has a fully meshed inner core of four nodes (0..3) and then four outer nodes (4,5,6 and 7), each dual-homed onto a pair of inner core nodes.

Normally when nodes come from the factory they have a MAC address assigned which becomes a node identifier but for the purpose of this example we will assume that the nodes have MAC addresses of the form 00:00:00:00:N:00 where N is the node id (0..7) from Figure 1. Therefore, node 2 has a MAC address of 00:00:00:00:02:00. Node 2 is connected to node 7 (00:00:00:00:07:00) via node 2's interface/5.

The IS-IS protocol runs on all the links shown since they are between participating nodes. The IS-IS hello protocol has a few additions for 802.1aq including information about backbone VIDs to be used by the protocol. We will assume that the operator has chosen to use backbone VIDs 101 and 102 for this instance of 802.1aq on this network.

The node will use their MAC addresses as the IS-IS SysId and join a single IS-IS level and exchange link-state packets (LSPs in IS-IS terminology). The LSPs will contain node information and link information such that every node will learn the full topology of the network. Since we have not specified any link weights in this example, the IS-IS protocol will pick a default link metric for all links, therefore all routing will be minimum hop count.

After topology discovery the next step is distributed calculation of the unicast routes for both ECMP VIDs and population of the unicast forwarding tables (FIBs).

Figure 2 - two ECMP paths between nodes 7 and 5

Consider the route from Node 7 to Node 5: there are a number of equal-cost paths. 802.1aq specifies how to choose two of them: the first is referred to as the Low PATH ID path. This is the path which has the minimum node id on it. In this case the Low PATH ID path is the 7->0->1->5 path (as shown in red in Figure 2). Therefore, each node on that path will create a forwarding entry toward the MAC address of node five using the first ECMP VID 101. Conversely, 802.1aq specifies a second ECMP tie-breaking algorithm called High PATH ID. This is the path with the maximum node identifier on it and in the example is the 7->2->3->5 path (shown in blue in Figure 2).

Node 7 will therefore have a FIB that among other things indicates:

  • MAC 00:00:00:05:00 / vid 101 the next hop is interface/1.
  • MAC 00:00:00:05:00 / vid 102 the next hop is interface/2.

Node 5 will have exactly the inverse in its FIB:

  • MAC 00:00:00:07:00 / vid 101 the next hop is interface/1.
  • MAC 00:00:00:07:00 / vid 102 the next hop is interface/2.

The intermediate nodes will also produce consistent results so for example node 1 will have the following entries.

  • MAC 00:00:00:07:00 / vid 101 the next hop is interface/5.
  • MAC 00:00:00:07:00 / vid 102 the next hop is interface/4.
  • MAC 00:00:00:05:00 / vid 101 the next hop is interface/2.
  • MAC 00:00:00:05:00 / vid 102 the next hop is interface/2.

And Node 2 will have entries as follows:

  • MAC 00:00:00:05:00 / vid 101 the next hop is interface/2.
  • MAC 00:00:00:05:00 / vid 102 the next hop is interface/3.
  • MAC 00:00:00:07:00 / vid 101 the next hop is interface/5.
  • MAC 00:00:00:07:00 / vid 102 the next hop is interface/5.

If we had an attached non-participating device at Node 7 talking to a non-participating device at Node 5 (for example Device A talks to Device C in Figure 3), they would communicate over one of these shortest paths with a MAC-in-MAC encapsulated frame. The MAC header on any of the NNI links would show an outer source address of 00:00:00:70:00, an outer destination address of 00:00:00:50:00 and a BVID of either 101 or 102 depending on which has been chosen for this set of non-participating ports/vids. The header once inserted at node 7 when received from node A, would not change on any of the links until it egressed back to non-participating Device C at Node 5. All participating devices would do a simple DA+VID lookup to determine the outgoing interface, and would also check that incoming interface is the proper next hop for the packet's SA+VID. The addresses of the participating nodes 00:00:00:00:00:00 ... 00:00:00:07:00 are never learned but are advertised by IS-IS as the node's SysId.

Unicast forwarding to a non-participating client (e.g. A, B, C, D from Figure 3) address is of course only possible when the first hop participating node (e.g. 7) is able to know which last hop participating node (e.g. 5) is attached to the desired non-participating node (e.g. C). Since this information is not advertised by IEEE 802.1aq it has to be learned. The mechanism for learning is identical to IEEE 802.1ah, in short, the corresponding outer MAC unicast DA, if not known is replaced by a multicast DA and when a response is received, the SA of that response now tells us the DA to use to reach the non-participating node that sourced the response. e.g. node 7 learns that C is reached by node 5.

Figure 3 - per source, per service multicast for E-LAN

Since we wish to group/scope sets of non-participating ports into services and prevent them from multicasting to each other, IEEE 802.1aq provides mechanism for per source, per service multicast forwarding and defines a special multicast destination address format to provide this. Since the multicast address must uniquely identify the tree, and because there is a tree per source per unique service, the multicast address contains two components, a service component in the low order 24 bits and a network-wide unique identifier in the upper 22 bits. Since this is a multicast address the multicast bit is set, and since we are not using the standard OUI space for these manufactured addresses, the Local 'L' bit is set to disambiguate these addresses. In Figure 3 above, this is represented with the DA=[7,O] where the 7 represents packets originating from node 7 and the colored O represents the E-LAN service we are scoped within.

Prior to creating multicast forwarding for a service, nodes with ports that face that service must be told they are members. For example, nodes 7,4,5 and 6 are told they are members of the given service, for example service 200, and further that they should be using BVID 101. This is advertised by ISIS and all nodes then do the SPBM computation to determine if they are participating either as a head end or tail end, or a tandem point between other head and tail ends in the service. Since node 0 is a tandem between nodes 7 and 5 it creates a forwarding entry for packets from node 7 on this service, to node 5. Likewise, since it is a tandem between nodes 7 and 4 it creates forwarding state from node 7 for packets in this service to node 4 this results in a true multicast entry where the DA/VID have outputs on two interfaces 1 and 2. Node 2 on the other hand is only on one shortest path in this service and only creates a single forwarding entry from node 7 to node 6 for packets in this service.

Figure 3 only shows a single E-LAN service and only the tree from one of the members, however very large numbers of E-LAN services with membership from 2 to every node in the network can be supported by advertising the membership, computing the tandem behaviors, manufacturing the known multicast addresses and populating the FIBs. The only real limiting factors are the FIB table sizes and computational power of the individual devices both of which are growing yearly in leaps and bounds.

Implementation notes

[edit]

Interoperability

[edit]

The first public interoperability tests of IEEE 802.1aq were held in Ottawa in October 2010. Two vendors provided SPBM implementations and a total of 5 physical switches and 32 emulated switches were tested for control/data and OA&M.[29]

Further events were held in Ottawa in January 2011 with 5 vendors and 6 implementations,[30] at 2013's Interop event at Las Vegas where an SPBM network was used as a backbone.[31][32]

Competitors

[edit]

MC-LAG, VXLAN, and QFabric have all been proposed, but the IETF TRILL standard (Transparent Interconnect of Lots of Links) is considered the major competitor of IEEE 802.1aq, and: "the evaluation of relative merits and difference of the two standards proposals is currently a hotly debated topic in the networking industry."[33]

Deployments

[edit]

Deployment considerations and interoperability best practices are documented in an IETF document titled "SPB Deployment Considerations"[34]

  • 2013 Interop: Networking Leaders Demo Shortest Path Bridging[35]
  • 2014 Interop: InteropNet Goes IPv6, Includes Shortest Path Bridging[36]

Extreme Networks, by virtue of their acquisition of the Avaya Networking business and assets, is currently the leading exponent of SPB-based deployments; their enhanced and extended implementation of SPB - including integrated Layer 3 IP Routing and IP Multicast functionality - is marketed under the banner of the "Fabric Connect" technology. Additionally, Extreme Networks is supporting an IETF Internet Draft Draft that defines a means of automatically extended SPBM-based services to end-devices via conventional Ethernet Switches, leveraging an IEEE 802.1AB LLDP-based communications protocol; this capability - marketing "Fabric Attach" technology - allows for the automatic attachment of end-devices, and includes dynamic configuration of VLAN/I-SID (VSN) mappings.[37][38]

Avaya (acquired by Extreme Networks) has deployed SPB/Fabric Connect solutions for businesses operating across a number of industry verticals:[39]

  • Education, examples include: Leeds Metropolitan University,[40] Macquaire University,[41] Pearland Independent School District,[42] Ajman University of Science & Technology[43]
  • Transportation, examples include: Schiphol Telematics,[44] Rheinbahn,[45] Sendai City Transportation Bureau,[46] NSB[47]
  • Banking & Finance, examples include: Fiducia,[48] Sparebanken Vest[49]
  • Major Events, examples include: 2013 & 2014 Interop (InteropNet Backbone),[50] 2014 Sochi Winter Olympics,[51] Dubai World Trade Center[52][53]
  • Healthcare, examples include: Oslo University Hospital,[54][55] Concord Hospital,[56] Franciscan Alliance,[57] Sydney Adventist Hospital[58]
  • Manufacturing, examples include: Fujitsu Technology Solutions[59]
  • Media, examples include: Schibsted,[37] Medienhaus Lensing,[60] Sanlih Entertainment Television[61]
  • Government, examples include: City of Redondo Beach,[62] City of Breda,[63] Bezirksamt Neukölln[64]

Product support

[edit]

See also

[edit]

Notes

[edit]

References

[edit]

Further reading

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
IEEE 802.1aq is an amendment to the standard for media access control (MAC) bridges and virtual bridged local area networks, specifying protocols, procedures, and managed objects that enable shortest path bridging (SPB) for and frames in Ethernet networks. Published on June 29, 2012, it amends IEEE Std 802.1Q-2011 by introducing mechanisms to calculate multiple active topologies that share learned station location information, while supporting (VLANs) with multiple per-topology VLAN identifiers (VIDs). This standard facilitates true shortest path forwarding in mesh Ethernet topologies, utilizing the Intermediate System to Intermediate System () routing protocol adapted for bridged networks. Developed under the IEEE 802.1 working group, originated from a project authorization request (PAR) approved on September 22, 2005, and was edited by Don Fedyk and Mick Seaman. It builds on existing bridging specifications to enhance multi-vendor , allowing bridges to compute and forward traffic along optimal paths within defined network regions without disrupting legacy capabilities. Key functionalities include the use of link-state protocols for discovery and shortest path , enabling support for equal-cost multipath and improved distribution trees. The standard's primary benefits include faster network convergence, scalability for larger Layer 2 topologies, and reduced configuration complexity compared to traditional spanning tree protocols, as it eliminates loops through proactive path selection rather than reactive blocking. By incorporating traffic engineering capabilities, such as bandwidth reservation and path protection, IEEE 802.1aq supports more efficient resource utilization in carrier and enterprise networks. Although initially released as a standalone amendment, its provisions were integrated into the base IEEE 802.1Q-2014 standard, which superseded it on December 19, 2014, ensuring ongoing relevance in modern bridged LAN environments.

Introduction and Background

Definition and Purpose

IEEE 802.1aq, known as Shortest Path Bridging (SPB), is an amendment to the standard for virtual bridged local area that defines a link-state protocol for shortest paths in Ethernet . It utilizes the Intermediate System to Intermediate System () routing protocol to exchange information among bridges, enabling the calculation of shortest paths for , , and broadcast traffic within Layer 2 domains. This approach allows bridges to maintain a synchronized view of the network , facilitating efficient forwarding decisions without relying on traditional distance-vector methods. The primary purpose of IEEE 802.1aq is to simplify network configuration and management by replacing the (STP), which traditionally blocks redundant links to prevent loops, with a more scalable multipath forwarding mechanism. By leveraging shortest path computations, SPB supports larger network topologies—potentially scaling to hundreds or thousands of bridges—while enabling load balancing across multiple equal-cost paths, which enhances bandwidth utilization and resilience. Additionally, it facilitates by allowing the creation of isolated service instances over shared infrastructure, making it suitable for centers, , and carrier-grade networks. Key concepts in SPB include the use of service identifiers for traffic isolation and path computation. In the SPB-VID mode, per-topology VLAN identifiers (VIDs) are employed to associate services with specific shortest path trees, supporting up to 4096 VIDs and optional address learning for efficiency. Alternatively, the SPB-MAC mode uses -in- encapsulation, where inner addresses are preserved within outer backbone frames, enabling service demarcation without extensive flooding. These mechanisms ensure that forwarding occurs along computed shortest paths while maintaining with existing 802.1Q features. SPB enables equal-cost multipath (ECMP) in bridged domains by distributing across multiple shortest paths of equal metric, avoiding loops through control-plane and ingress replication checks. This multipath capability is achieved via hash-based load balancing at each bridge, promoting full utilization of network resources without the convergence delays or single-path limitations of STP.

Historical Development

The development of IEEE 802.1aq, known as Shortest Path Bridging (SPB), began with the approval of its Project Authorization Request (PAR) by the working group on September 22, 2005, addressing the need for enhanced Ethernet bridging capabilities in large-scale networks. The first draft, version 0.1, was posted on March 4, 2006, marking the initial formalization of SPB protocols for and frame forwarding using shortest paths and multiple active topologies. Subsequent drafts evolved through versions 1.0 (August 2008), 2.0 (June 2009), 3.0 (June 2010), and 4.0 (June 2011), culminating in draft 4.6 on March 12, 2012. The standard was approved by the on March 29, 2012, and published in June 2012 as an amendment to IEEE 802.1Q-2011. IEEE 802.1aq emerged from the limitations of the Spanning Tree Protocol (STP), which restricted Ethernet networks to tree topologies, blocking redundant paths and hindering scalability, load balancing, and convergence in expansive carrier and enterprise environments. Influenced by requirements for multipath forwarding, faster recovery, and simplified management in growing data centers and service provider infrastructures, SPB leveraged Intermediate System to Intermediate System (IS-IS) routing to enable full-mesh utilization while maintaining Layer 2 simplicity. This evolution allowed Ethernet to support larger topologies without the performance bottlenecks of STP, meeting demands for efficient, resilient bridging in both enterprise and carrier-grade deployments. Key milestones post-approval included its full integration into the base IEEE 802.1Q-2014 standard on December 19, 2014, consolidating SPB as a core component of bridged network specifications. The first multivendor interoperability demonstration occurred at Interop 2013, where , , , and Communications showcased a live SPB fabric across the event's backbone, validating cross-vendor compatibility for shortest path forwarding. A notable early deployment was at the 2014 Sochi Winter Olympics, where 's Fabric Connect implementation of SPB supported the event's network, capable of handling up to 54 Tbit/s of traffic across venues. Since its integration into IEEE 802.1Q-2014, IEEE 802.1aq has seen no major standalone revisions, with updates primarily occurring through ongoing revisions to the parent 802.1Q standard, including the 2022 edition. SPB integrates with (SDN) architectures for programmable control, enhancing automation in dynamic environments without altering the core protocol.

Protocol Specifications

Core Standards

IEEE 802.1aq, published in , serves as an amendment to IEEE Std 802.1Q-2011, introducing Shortest Path Bridging (SPB) to enable loop-free forwarding of and frames along computed shortest paths within bridged networks. This amendment adds specific clauses that define protocols for calculating and installing multiple active topologies in bridges, supporting both SPBV (Shortest Path Bridging using Identifiers) and SPBM (Shortest Path Bridging using MAC-in-MAC encapsulation) modes to enhance network efficiency and scalability. The provisions of IEEE 802.1aq were consolidated into the base IEEE Std 802.1Q-2014, establishing SPB as a standard bridging method alongside traditional spanning tree protocols. In this revision, SPB is presented as an optional capability for bridges, requiring support for the Link State Protocol and a minimum of three Filtering Identifiers (FIDs) to facilitate shortest path computation and forwarding. This integration ensures while allowing bridges to operate in SPB regions for optimized topology management. Key elements of SPB are detailed in Clauses 27 and 28 of IEEE Std 802.1Q-2014. Clause 27 outlines the protocol design for SPB, including the definition of SPB frames such as Shortest Path Tree (SPT) Bridge Protocol Data Units (BPDUs) in Clause 14, which carry agreement information for topology synchronization, and tagged frame formats in Clause 9 that incorporate SPVIDs for SPBV mode forwarding. Clause 28 specifies the ISIS-SPB Link State Protocol, including Type-Length-Value (TLV) extensions for topology advertisement, such as those for backbone service instances (I-SIDs) and equal-cost tree (ECT) algorithms, enabling bridges to exchange link-state information and compute symmetric shortest path trees. MAC address learning in SPB occurs through the link-state database rather than traditional data-driven methods; in SPBV, it is performed per SPT, while in SPBM, it is disabled in favor of source MAC-based SPT identification and dynamic filtering entries populated via ISIS-SPB. IEEE 802.1aq integrates with IEEE Std 802.1ag for operations, administration, and maintenance (OAM) support, particularly through Connectivity Fault Management (CFM) features like maintenance points (MEPs) on SPB VIDs and Base VIDs to enable fault detection and performance monitoring in SPB domains. SPB employs as its protocol to advertise and service information, with details on extensions provided in related specifications. IEEE 802.1aq Shortest Path Bridging (SPB) relies on extensions to the protocol as defined in RFC 6329 to enable its operations in Ethernet networks. These extensions include a new Protocol Identifier (NLPID) value of 0xC1, which indicates support for 802.1aq in the IS-IS Hello (IIH) Protocol Data Units (PDUs) via the Protocols Supported TLV (type 129). Additionally, the specification introduces several Type-Length-Value (TLV) structures to facilitate SPB adjacency formation and (SPT) computation, such as the SPB Adjacency TLV (type 21) for neighbor discovery, the SPB SPT Intermediate TLV (type 22) for intermediate node information, the SPB Host TLV (type 23) for endpoint advertisement, and sub-TLVs like SPB-MCID (type 4) and SPB-Inst (type 1) for service and topology details. These elements allow IS-IS to compute and distribute shortest path information while supporting both SPB-VID (SPBV) and SPB-MAC (SPBM) modes without altering the core IS-IS state machine. Further protocol extensions enhance SPB's capabilities in diverse environments. IEEE 802.1Qbp provides Equal Cost Multiple Paths (ECMP) support, allowing SPB to distribute traffic across multiple equivalent shortest paths for improved load balancing and resilience in bridged networks. IEEE 802.1Qcj enables automatic attachment to Provider Backbone Bridging (PBB) services, facilitating seamless integration of SPB domains with larger backbone infrastructures through protocols for and attachment. Integration with IEEE 802.1BR for Bridge Port Extension allows SPB to extend bridge functionality beyond physical enclosures, treating port extenders as logical extensions of the SPB bridge for scalable edge deployments. These extensions build upon the core 802.1Q bridging framework to support advanced forwarding behaviors. In SPBM mode, these extensions enable efficient distribution trees by leveraging source-specific SPTs tied to Backbone MAC (B-MAC) addresses, where service instances identified by I-Service Instance Identifiers (I-SIDs) map customer MAC addresses to appropriate B-MACs for encapsulation and forwarding. This mapping ensures isolated, scalable delivery across the network, with each I-SID potentially using dedicated trees for and traffic to prevent loops and optimize bandwidth.

Operational Principles

High-Level Architecture

The high-level architecture of IEEE 802.1aq Shortest Path Bridging (SPB) integrates the routing protocol, adapted per RFC 6329, to enable link-state topology discovery and shortest path computation within Ethernet bridged networks. Bridges flood IS-IS Hello packets to discover adjacent nodes and establish point-to-point adjacencies, typically over a dedicated control , with Hello intervals typically set to 10 seconds as per base IS-IS, though some implementations use 9 seconds. These Hellos include SPB-specific Type-Length-Value (TLV) extensions that advertise bridge identifiers, such as Backbone MAC (B-MAC) addresses, and service memberships via I-Service Instance Identifiers (I-SIDs). Following adjacency formation, bridges exchange and flood IS-IS Link State PDUs (LSPs) to synchronize a consistent link-state database (LSDB) across the domain, capturing the full including link states, metrics, and SPB attributes. Each bridge runs an SPB instance, configured with up to 16 BVLANs for load balancing, where symmetric link metrics—defaulting to 10 regardless of link speed, though configurable from 1 to 16,777,215—ensure bidirectional path congruency for both and flows. The LSDB enables each bridge to independently compute shortest paths using a modified Dijkstra's shortest path first (SPF) , generating symmetric shortest path trees (SPTs) rooted at itself. The core operational flow commences with adjacency establishment via IS-IS Hellos, proceeds to LSDB synchronization through periodic LSP flooding, and culminates in SPT construction for traffic forwarding. For unicast, a single SPT per BVLAN is built, populating the forwarding database (FDB) with B-MAC and I-SID entries to direct frames along the shortest path without intermediate learning. Multicast SPTs are derived similarly, supporting options like head-end replication at the source or tandem replication at intermediate nodes, pruned based on I-SID group memberships advertised in the LSDB. Forwarding leverages these SPTs, encapsulating customer frames with B-MAC headers and I-SIDs for service isolation, ensuring loop-free, deterministic delivery across the backbone. Conceptually, SPT formation can be illustrated as a rooted emanating from each bridge, with branches tracing the lowest-cost paths to all destinations based on cumulative link metrics; this structure not only underpins point-to-point but also templates distribution by identifying efficient replication points, as depicted in network diagrams showing symmetric overlays for path . SPB supports variants like SPB-VID for VLAN-based services and SPB-MAC for MAC-in-MAC encapsulation to adapt to different deployment needs.

Shortest Path Bridging Variants

IEEE 802.1aq defines two primary modes for Shortest Path Bridging (SPB) to support service identification and frame forwarding in bridged networks: SPB-VID and SPB-MAC. These modes enable the computation and utilization of shortest path trees for efficient traffic delivery while accommodating different levels of service granularity and . SPB-VID, also known as SPBV, leverages VLAN tagging for service identification. It employs VLAN Identifiers (VIDs), specifically SPVIDs, to map customer services to backbone paths, with a maximum support of 4,094 VIDs due to the 12-bit field in the VLAN tag. In this mode, customer (C-VIDs) are separated from backbone (B-VIDs) to extend Layer 2 domains across the network while preserving VLAN semantics. SPB-VID facilitates load distribution across multiple shortest path trees by associating different VIDs with distinct topologies, making it suitable for environments requiring straightforward VLAN-based service delineation. In contrast, SPB-MAC, or SPBM, provides enhanced scalability through MAC-in-MAC encapsulation, aligning with provider backbone bridging concepts from IEEE 802.1ah. It uses a 24-bit Service Instance Identifier (I-SID) within the I-Tag to uniquely identify up to 16 million services, far exceeding the VID limit of SPB-VID. This mode encapsulates original customer MAC frames inside provider backbone MAC (B-MAC) headers, enabling full Layer 2 virtualization and support for advanced services like E-LINE, E-LAN, and E-TREE. SPB-MAC integrates IP-like routing capabilities over Layer 2 by leveraging IS-IS for path computation, allowing carrier networks to handle massive service instances without VLAN constraints. The key differences between SPB-VID and SPB-MAC lie in their service models and encapsulation approaches. SPB-VID is optimized for simpler extensions of existing infrastructures, where service boundaries align with 802.1Q tags and topology mapping is VID-centric. SPB-MAC, however, offers greater flexibility for large-scale in environments, using I-SIDs for fine-grained service isolation and B-MAC addressing for backbone forwarding. While SPB-VID suits enterprise or networks with moderate service counts, SPB-MAC excels in carrier-grade deployments requiring high and multipoint connectivity. For SPB-MAC encapsulation, the frame structure includes a B-MAC Destination (DA) derived from the shortest path source ID and I-SID, followed by the B-MAC Source (SA), an optional B-VID, and the I-Tag containing the 24-bit I-SID for service demarcation. The full header sequence is: B-MAC DA (6 bytes), B-MAC SA (6 bytes), optional VLAN tag (B-VID, 4 bytes), I-Tag (6 bytes, including priority, drop eligibility, and I-SID), and the original customer frame. This format ensures separation of customer and provider domains, with tandem replication at intermediate nodes for efficiency.
FieldSize (bytes)Description
B-MAC DA6Backbone destination MAC, often SPSourceID + I-SID for
B-MAC SA6Backbone source MAC of the originating bridge
B-VID (optional)4Backbone ID for additional isolation
I-Tag6Includes 802.1p priority (3 bits), drop eligible (1 bit), and 24-bit I-SID
Original FrameVariableEncapsulated customer MAC frame
This table illustrates the SPB-MAC header components, promoting clear domain separation and scalable service delivery in SPB networks.

Equal-Cost Multipath Trees

In IEEE 802.1aq Shortest Path Bridging (SPB), Equal-Cost Multipath Trees (ECMT) enable load balancing by supporting up to 16 shortest path trees (SPTs) per SPB instance. Each tree is by a 12-bit Shortest Path VLAN Identifier (SPVID), which associates specific services or classes with individual trees to distribute network load effectively. This mechanism ensures symmetric and congruent paths for both and , maximizing utilization of equal-cost links without requiring explicit configuration for each path. Tree construction relies on extensions to the Intermediate System to Intermediate System () protocol, which advertises multiple SPTs using the ECT-ALGORITHM identifier to delineate distinct SPT sets within a single . Bridges compute these SPTs independently but consistently across the network, applying tie-breaking algorithms—such as XOR operations between bridge identifiers and ECT masks—to generate diverse equal-cost trees. Service-to-tree mapping occurs at the edge bridges, where VLANs or I-SIDs (in SPBM mode) are assigned to specific SPVIDs, ensuring end-to-end path selection aligns with service requirements. Load balancing across ECMT is achieved through Equal-Cost Multipath (ECMP) forwarding, where traffic flows are directed to trees via a computed on source and destination MAC addresses (and optionally IP addresses). This per-flow selection prevents polarization—where flows consistently choose the same path—by distributing streams evenly over available trees, with up to 16-bit in tie-breaker values allowing fine-tuned path diversity. The approach maintains forwarding , as the same hash yields identical tree assignments in both directions. For illustration, consider a simple four-bridge network (A, B, C, D) where A connects to B and D, and both B and D connect to C, forming two equal-cost paths from A to C. A stream originating at A is hashed to select between two SPVIDs: one routes via A-B-C (SPVID 100), and the other via A-D-C (SPVID 101). Subsequent streams with different source/destination address combinations are assigned to the alternate , balancing load across the paths while trees to group members for efficiency.

Advanced Capabilities

Traffic Engineering

In IEEE 802.1aq Shortest Path Bridging (SPB), traffic engineering optimizes flow beyond basic shortest paths by leveraging administrative link metrics and service assignments advertised through the Intermediate System to Intermediate System (IS-IS) protocol extensions defined in RFC 6329. Link metrics can be advertised asymmetrically in each direction over a bidirectional link, allowing network operators to influence path selection based on local conditions such as bandwidth availability or policy preferences; however, to maintain symmetric forwarding and ensure consistent unicast/multicast path congruence, path computations use the maximum of the two directional metrics as the effective link cost. Administrative weights, configurable as 24-bit unsigned integers (typically ranging from 1 for preferred paths to higher values up to 16,777,215 to deprioritize), represent per-link costs that guide the shortest path first (SPF) algorithm in constructing forwarding trees. Lower weights prioritize paths for traffic carrying, enabling operators to allocate bandwidth or enforce policies without altering physical ; for instance, in a mesh network, setting a higher weight on an overloaded link between two bridges reroutes subsequent traffic to underutilized alternate paths, balancing load while preserving deterministic . Service-to-VID (VLAN ID) or I-SID (Service Instance ID) assignment further enables traffic engineering by mapping specific services or flows to designated backbone VLANs (B-VIDs) at network edges, ensuring end-to-end consistency across the SPB domain and directing traffic onto particular shortest path trees. This head-end selection supports up to 16 equal-cost tree (ECT) algorithms for load distribution, such as assigning high-priority services to low-metric trees while reserving others for bulk traffic. Despite these capabilities, SPB traffic engineering maintains symmetric forwarding paths to align with Ethernet's bidirectional service model, limiting it to tree-based optimizations rather than per-flow state like MPLS label switched paths; equal-cost multipath trees provide automatic load sharing, but manual interventions via metrics and assignments are required for fine-tuned policy routing.

Failure Recovery Mechanisms

IEEE 802.1aq achieves sub-second network convergence following through the use of the Intermediate System to Intermediate System () protocol for flooding topology changes across the network. Upon detection of a link or node , link-state advertisements are rapidly disseminated via , enabling all bridges to recompute shortest path trees (SPTs) independently without the need for (STP)-like port blocking mechanisms. This process leverages the link-state database to update forwarding tables, ensuring minimal disruption and full utilization of remaining paths in mesh topologies. In (LAG) configurations, IEEE 802.1aq supports recovery from link or node failures by rerouting traffic over alternate SPTs, achieving sub-second reconvergence, typically under 500 milliseconds. This rapid is facilitated by the protocol's ability to maintain symmetric, congruent paths for and traffic, allowing seamless redirection without frame duplication or loss in setups. Fault tolerance in IEEE 802.1aq is enhanced by the provision of multiple equal-cost multipath (ECMT) trees, up to 16 per service instance, which distribute traffic across redundant paths for load balancing and resilience. Broadcast and trees dynamically reform following failures as bridges recalculate SPTs based on updated topology information, ensuring continuous service availability without manual intervention. Compared to traditional STP variants, IEEE 802.1aq provides 3-30 times faster recovery times—sub-second versus several seconds for Rapid STP—while avoiding topology restrictions that block redundant links. This enables full mesh utilization and scalable fault recovery in large Ethernet fabrics.

Operations and Management

Operations and Administration (OAM) in IEEE 802.1aq Shortest Path Bridging (SPB) networks integrates with IEEE 802.1ag Connectivity Fault Management (CFM) to perform continuity checks, enabling fault detection across SPB shortest path trees (SPTs). This integration leverages CFM's maintenance domains and association points to monitor end-to-end connectivity in bridged Ethernet networks. Additionally, ITU-T Y.1731 extends OAM capabilities for performance monitoring on SPTs, including frame loss, delay, and synthetic loss measurements, ensuring reliable service delivery over symmetric paths. Failure detection via CFM supports rapid identification of connectivity issues without disrupting ongoing traffic. Management of SPB networks relies on (SNMP) Management Information Bases (MIBs) for IS-IS and SPB statistics, allowing administrators to monitor topology, forwarding states, and performance metrics. The IEEE8021-SPB-MIB specifically provides objects for configuring SPB instances, service identifiers, and tree parameters, facilitating centralized oversight of multipath topologies. Command-line interfaces (CLIs) are used for service provisioning, such as defining VLAN-to-service mappings, and for tree monitoring to validate SPT construction and load distribution. SPB ensures traffic follows bidirectional shortest paths, promoting symmetric forwarding that aligns forward and reverse routes for consistent latency and OAM efficacy. Tools like SNMP queries and CLI commands verify equal-cost multipath (ECMP) utilization by inspecting path counts, load balancing across SPTs, and ensuring no asymmetric occurs within the domain. in SPB focuses on to safeguard the against spoofing, with mechanisms for adjacency and area authentication using keys to validate updates. This prevents unauthorized topology alterations in zero-configuration environments, maintaining the integrity of SPB computations.

Implementation Considerations

Key Implementation Notes

In Shortest Path Bridging (SPB) as defined in IEEE 802.1aq, tie-breaking during (SPT) computation ensures deterministic resolution of equal-cost paths by prioritizing the lowest Bridge ID, composed of a 16-bit Bridge Priority concatenated with a 48-bit System ID (SYSID), followed by the 16-bit SPVID if applicable for the instance. This mechanism, often leveraging the SPSourceID—a 20-bit network-wide assigned to bridges running SPBM—avoids loops and guarantees path congruence between and forwarding. Scalability in SPB networks is constrained by the Link State Database (LSDB) size, with practical deployments for SPBV limited to around 100 nodes and SPBM to approximately 1000 nodes due to computational overhead; the SPB-MCID TLV supports up to 4096 VIDs via its array structure. Encapsulated frames in SPBM, using 802.1ah Provider Backbone Bridging (PBB) headers, add 14-22 bytes of overhead, necessitating MTU adjustments to at least 1522 bytes on links to prevent fragmentation and ensure efficient forwarding. In some implementations, such as VOSS, configuration of SPB uses area 49.0000 for Level-1 routing within the bridged domain, with the standard specifying area address 0 for stand-alone SPB; SPB enabling occurs automatically on ports via discovery using the NLPID 0xC1 in hello PDUs. This auto-discovery simplifies initial setup but requires explicit verification of adjacencies to confirm SPB instance participation. Common pitfalls in SPB deployment include inconsistent link metrics across domains, which can break path symmetry and lead to suboptimal or asymmetric forwarding trees, as the SPB-LINK-METRIC must be uniformly interpreted for accurate SPT calculations. Additionally, hybrid environments transitioning from Spanning Tree Protocol (STP) to SPB demand careful interworking, such as designating the CIST Root Identifier to align legacy STP roots with SPB bridges, to avoid blackholing or loops during migration. Equal-Cost Multipath (ECMT) assignment, which extends tie-breaking for load balancing, relies on similar low PATHID algorithms but should be configured post-basic SPT convergence to maintain stability.

Interoperability Aspects

The first public interoperability tests for IEEE 802.1aq Shortest Path Bridging (SPB) occurred in in 2010, involving implementations from and . These tests utilized a setup of 32 nodes, including one Avaya ERS 8800 switch, four Huawei S9303 switches, and 32 instances on hosts connected via 1 copper links, demonstrating successful Layer 2 and Layer 3 connectivity across vendors with operational and maintenance (OAM) functions like L2-Pings functioning without issues. A successful multivendor demonstration followed at Interop 2013 in , where , , HP, and showcased live interoperability of an SPB fabric, marking the first public exhibit of multi-vendor SPB operations in a shared network environment. Key challenges in SPB interoperability arise from ensuring consistent IS-IS implementations across vendors, as variations in protocol handling can lead to adjacency failures or topology inconsistencies. For instance, early tests revealed issues with misconfigured Backbone VLAN IDs (B-VIDs) preventing proper adjacency formation, alongside differences in draft protocol versions that affected synchronization. Handling varying Maximum Transmission Unit (MTU) sizes and encapsulation support presents additional hurdles, particularly in SPB-MAC mode where the MAC-in-MAC encapsulation adds overhead, potentially requiring fragmentation and reassembly if the effective MTU falls below 1594 bytes in IP-overlaid scenarios, which can disrupt frame forwarding in heterogeneous environments. Tie-breaking mechanisms, such as those defined in SPB's Encapsulation Tree (ECT) algorithms, help ensure consistent path selection across equal-cost routes but demand uniform vendor adherence to avoid divergent forwarding behaviors. Standards compliance plays a critical role in enabling cross-vendor adjacency and operation, with adherence to RFC 6329 ensuring standardized IS-IS extensions like the SPB-MCID TLV and NLPID 0xC1 for mutual adjacency negotiation in peer-to-peer setups. This IETF specification aligns with IEEE 802.1aq by defining Type-Length-Values (TLVs) for topology discovery and symmetric path computation, facilitating interoperability in mesh Ethernet networks without requiring substantive changes to core IS-IS operations. Recent integration tests in Time-Sensitive Networking (TSN) environments post-2020 have validated SPB's role in extending shortest path forwarding for deterministic routing, as demonstrated in industrial automation testbeds where IS-IS-controlled bridges manage multiple active topologies alongside TSN scheduling. Best practices for SPB interoperability emphasize the use of conformance test suites aligned with standards to verify protocol fidelity, including adjacency formation, path computation, and OAM functionality across implementations. These suites, often incorporating tools for emulating SPB control and data planes, help identify deviations in extensions and encapsulation handling prior to deployment, promoting reliable multivendor fabrics.

Advantages and Comparisons

Key Benefits

IEEE 802.1aq Shortest Path Bridging (SPB) enhances scalability in Ethernet networks by supporting topologies of up to 1000 nodes, far exceeding the limitations of traditional (STP), which is constrained to a 7-hop diameter. This capability enables the construction of large, loop-free fabrics that utilize full mesh connectivity through Equal-Cost Multipath (ECMP) forwarding, allowing up to 16 equal-cost shortest paths for traffic distribution. SPB improves efficiency by enabling near-100% bandwidth utilization across all links via shortest-path , contrasting with STP's typical 30-50% utilization due to blocked paths. This approach reduces latency by directing traffic along optimal routes and achieves convergence times below 100 milliseconds upon failure detection, leveraging hardware-assisted for rapid updates. The standard provides native virtualization for thousands of isolated services, supporting up to 2^24 logical Layer 2 topologies through modes like SPB-MAC (SPBM) and SPB-VID (SPBV), which delineate services using MAC addresses or VLAN identifiers without requiring manual configuration of individual VLANs. This facilitates single-point provisioning for connectivity types such as E-LINE, E-LAN, and E-TREE, enhancing flexibility in virtualized environments like data centers. SPB delivers cost savings by simplifying network operations with plug-and-play deployment and reuse of existing Ethernet Operations, Administration, and Maintenance (OAM) tools, reducing the complexity of provisioning large fabrics. It also minimizes hardware requirements by leveraging inexpensive existing for forwarding, thereby lowering infrastructure and energy costs compared to traditional bridged networks that demand additional redundancy mechanisms.

Comparison with Competitors

IEEE 802.1aq Shortest Path Bridging (SPB) differs from Transparent Interconnection of Lots of Links (TRILL) primarily in its routing approach and frame handling mechanisms. SPB leverages the standards-based Intermediate System to Intermediate System () protocol with minimal extensions for link-state distribution, enabling shortest path computations within Ethernet bridges. In contrast, TRILL employs a custom RBridge architecture that adapts for Layer 2 routing among specialized routing bridges, introducing additional protocol elements tailored to its encapsulation model. Regarding address learning, SPB supports edge-based MAC learning integrated with its MAC-in-MAC encapsulation, reducing unnecessary broadcasts in the core. TRILL, however, relies more heavily on flooding for multi-destination traffic via distribution trees, which can lead to higher overhead in dense topologies compared to SPB's shortest path trees. Compared to (EVPN), SPB offers a pure Layer 2 solution without requiring an IP underlay, making it suitable for native Ethernet fabrics where simplicity and direct L2 extension are prioritized. EVPN, built on BGP signaling over an IP or MPLS underlay, has gained preference for multi-tenancy in data centers since around 2020 due to its ability to advertise MAC and IP routes dynamically, supporting scalable tenant isolation and inter-site extensions in environments. This BGP-based in EVPN facilitates advanced features like equal-cost multipath load balancing across tenants, which SPB achieves through but without the same level of integrated L3 VPN capabilities. SPB provides a significant advancement over the (STP) by using to construct loop-free topologies that utilize the full of available links, avoiding the port-blocking limitations of STP's tree-based . STP eliminates loops by selecting a single active path and disabling redundant links, resulting in underutilized bandwidth and slower convergence, whereas SPB's IS-IS-driven shortest paths enable multipath forwarding across the entire without such restrictions. SPB maintains relevance in networks, where it was originally designed to extend MPLS backbones with efficient L2 services, offering carrier-grade reliability and without complex overlays. Its adoption has been more limited in cloud data centers, where EVPN's flexibility for multi-tenancy and integration with IP fabrics has driven broader deployment post-2020.

Real-World Applications

Notable Deployments

One of the earliest high-profile deployments of IEEE 802.1aq Shortest Path Bridging (SPB) occurred at the in , , where it formed the backbone of the event's fabric network, demonstrating scalability and reliability for a global-scale operation. This implementation, provided by , supported the demanding connectivity needs of the games, including real-time video and data services across venues. SPB also featured prominently in multi-vendor interoperability demonstrations at Interop events in 2013 and 2014, where it powered the InteropNet backbone using significantly fewer resources than previous years, validating its efficiency in heterogeneous environments. In 2024, Enterprise deployed SPB-based OmniSwitch solutions for PT Fiber Media Indonesia's network expansion in Greater and surrounding cities, introducing shortest path routing to simplify and enable for improved real-time performance and recovery. This upgrade enhanced service reliability and customer experience by separating traffic types for better security while reducing maintenance complexity compared to traditional Ethernet methods. SPB has been integrated into carrier-grade backbones and fabrics, including hybrid configurations with EVPN for multitenant environments; for instance, implemented a Fabric Connect (SPB) architecture across two s for a major East African retail , facilitating seamless scaling during relocation with minimal . Such case studies highlight SPB's role in supporting over 500 Layer 2 services in multi-tenant fabrics with sub-second convergence for link or node failures. As of 2025, SPB integrations in enterprise AI networking trends emphasize enhanced security through automated traffic isolation and segmentation, aligning with AI-driven optimization in unified fabrics. These deployments underscore SPB's ability to handle thousands of services across resilient topologies, as seen in large-scale fabrics achieving consistent sub-second .

Vendor Support and Products

Extreme Networks is a primary vendor supporting IEEE 802.1aq through its Fabric Connect technology, which implements Shortest Path Bridging (SPB) for scalable Ethernet fabrics. Originally developed under Avaya and acquired by Extreme in 2017, Fabric Connect leverages the VOSS operating system to enable auto-provisioning of endpoints and services via Fabric Attach, allowing dynamic discovery and configuration without manual intervention. This feature supports proxy modes for integrating third-party devices into SPB domains, enhancing compatibility in diverse environments. Nokia provides IEEE 802.1aq support in its Service Router (SR) series running SR OS, particularly through SPB-MAC mode for edge deployments. SR OS implements SPBM with equal-cost tree algorithms (low-path-id and high-path-id) using extensions, enabling efficient MAC learning and forwarding in large-scale provider networks while supporting up to two ECT algorithms per SPB instance. Enterprise, now under , extends this to enterprise switches like the OmniSwitch 6900 and 9900 series, which incorporate SPB for protocol auto-discovery and self-provisioning in stacked configurations. Post-2020 developments include integrations of SPB with (SDN) controllers in vendor platforms, such as Extreme's orchestration enhancements for automated fabric management. Open-source efforts feature partial support via (FRR), which implements core (the basis for SPB routing) but requires extensions for full 802.1aq compliance. As of 2025, IEEE 802.1aq adoption remains niche, primarily in for services and industrial (TSN) for deterministic multi-path forwarding, driven by its standardization in products from a limited set of vendors.

References

Add your contribution
Related Hubs
User Avatar
No comments yet.