TRILL (computing)

Combined bridging and routing protocol

Internet protocol suite

Application layer

* BGP
* DHCP (v6)
* DNS
* FTP
* HTTP (HTTP/3)
* HTTPS
* IMAP
* IRC
* LDAP
* MGCP
* MQTT
* NNTP
* NTP
* OSPF
* POP
* PTP
* ONC/RPC
* RTP
* RTSP
* RIP
* SIP
* SMTP
* SNMP
* SSH
* Telnet
* TLS/SSL
* XMPP
* more...

Transport layer

* TCP
* UDP
* DCCP
* SCTP
* RSVP
* QUIC
* more...

Internet layer

* IP
* v4
* v6
* ICMP (v6)
* NDP
* ECN
* IGMP
* IPsec
* more...

Link layer

* ARP
* Tunnels
* PPP
* MAC
* more...

* v
* t
* e

TRILL (Transparent Interconnection of Lots of Links) is an Internet Standard[1] implemented by devices called TRILL switches. TRILL combines techniques from bridging and routing, and is the application of link-state routing to the VLAN-aware customer-bridging problem. Routing bridges (RBridges) are compatible with and can incrementally replace previous IEEE 802.1 customer bridges. TRILL Switches are also compatible with IPv4 and IPv6, routers and end systems. They are invisible to current IP routers, and like conventional routers, RBridges terminate the broadcast, unknown-unicast and multicast traffic of DIX Ethernet and the frames of IEEE 802.2 LLC including the bridge protocol data units of the Spanning Tree Protocol.

TRILL was designed as a successor to the Spanning Tree Protocol, both having been created by the same person, Radia Perlman. The catalyst for TRILL was an event at Beth Israel Deaconess Medical Center which began on 13 November 2002.[2][3] The concept of Rbridges[4] [sic] was first proposed to the Institute of Electrical and Electronics Engineers in 2004,[5] who in 2005[6] rejected what came to be known as TRILL, and in 2006 through 2012[7] devised an incompatible variation known as Shortest Path Bridging.

## General overview[edit]

TRILL switches run a link-state routing protocol amongst themselves. A link-state protocol is one in which connectivity is broadcast to all the RBridges, so that each RBridge knows about all the other RBridges, and the connectivity between them. This gives RBridges enough information to compute pair-wise optimal paths for unicast, and calculate distribution trees for delivery of frames either to destinations whose location is unknown or to multicast or broadcast groups. The link-state routing protocol used is IS-IS because:

* it runs directly over layer 2, so it can be run without configuration [no IP addresses need be assigned], as it is inclusive of a subset of the Connectionless-mode Network Service (CLNP).
* it is easy to extend by defining new type–length–value (TLV) data elements and sub-elements for carrying TRILL information.

To mitigate temporary loop issues, RBridges forward based on a header with a hop count. RBridges also specify the next-hop RBridge as the frame destination when forwarding unicast frames across a shared-media link, which avoids spawning additional copies of frames during a temporary loop. A reverse-path forwarding check and other checks are performed on multi-destination frames to further control potentially looping traffic.

The first RBridge that a unicast frame encounters in a campus, RB1, encapsulates the received frame with a TRILL header that specifies the last RBridge, RB2, where the frame is decapsulated. RB1 is known as the "ingress RBridge" and RB2 is known as the "egress RBridge". To save room in the TRILL header and simplify forwarding lookups, a dynamic nickname acquisition protocol is run among the RBridges to select two-octet nicknames for RBridges, unique within the campus, which are an abbreviation for the six-octet IS-IS system ID of the RBridge. The two-octet nicknames are used to specify the ingress and egress RBridges in the TRILL header.

The TRILL header consists of six octets: the first two octets include a six-bit decrementing hop count, plus flags; the next two octets contain the egress RBridge nickname; the final two octets contain the ingress RBridge nickname. For multi-destination frames, the "egress RBridge nickname" specifies a distribution tree for the frame, where the (nick)named RBridge is the root of the distribution tree. The ingress RBridge selects which distribution tree the frame should travel along.

Even though RBridges are transparent to Layer 3 devices, and all the links interconnected by RBridges appear to Layer 3 devices to be a single link, RBridges act as link routers in the sense that, in the forwarding of a frame by a transit RBridge, the outer Layer 2 header is replaced at each hop with an appropriate Layer 2 header for the next hop, and the hop count is decreased. Despite these modifications of the outer Layer 2 header and the hop count in the TRILL Header, the original encapsulated frame is preserved, including the original frame's VLAN tag.

Multipathing of multi-destination frames through alternative distribution tree roots and equal-cost multi-path routing (ECMP) of unicast frames are supported. Networks with a more mesh-like structure benefit to a greater extent from the multipathing and optimal paths provided by TRILL than networks with a more tree-like structure.

A host with multiple interfaces running the Internet Protocol requires that each of the interfaces [or the group of interfaces in a team] have a unique address, whereas when using TRILL the multiple-interface host can have a single IP address for all of its interfaces attached to a common broadcast domain — akin to the case of a network service access point address (NSAP) on an end system in CLNP.

## TRILL links[edit]

From the point of view of TRILL, a link can be any of a wide variety of link technologies, including IEEE 802.3 (Ethernet), PPP (Point to Point Protocol).,[8] or a Pseudo-wire.[9] Ethernet links between RBridges can incorporate IEEE customer or provider 802.1 bridges. In other words, an arbitrary bridged LAN appears to an RBridge as a multi-access link.

It is essential that only one RBridge act as the ingress RBridge for any given native frame and TRILL has an Appointed Forwarder [10] mechanism to assure this. TRILL does allow load splitting of this duty on a link based on VLAN, so that only one RBridge on each link encapsulates and decapsulates native frames for each VLAN.

## RBridge ports[edit]

RBridge ports can compatibly implement a wide variety of existing and proposed link level and IEEE 802.1 port level protocols including PAUSE (IEEE 802.3 Annex 31B), the Link Layer Discovery Protocol (IEEE 802.1AB), link aggregation (IEEE 802.1AX), MAC security (IEEE 802.1AE), or port based access control (IEEE 802.1X). This is because RBridges are layered above the IEEE 802.1 EISS (Extended Internal Sublayer Service) with the exception that an RBridge port handles spanning tree and VLAN registration PDUs differently.

## Open source implementations[edit]

* Accton IgniteNet MeshLinq – based on Quagga 0.99.22.4
* Gandi's quagga with TRILL – based on Quagga 0.99.22.4[11]
* MichaelQQ's Quagga-PE featuring TRILL and MPLS – based on Quagga 0.99.22.4[12]

## Proprietary implementations[edit]

Cisco FabricPath is a proprietary implementation of TRILL that utilizes the TRILL control plane (including IS-IS for Layer 2), but a non-interoperable data plane.[13] Brocade Virtual Cluster Switching, uses the TRILL data plane but a proprietary control plane and so is not interoperable with standards conformant TRILL.[14]

## VLAN support[edit]

The TRILL protocol provides mandatory support for the usual 4K VLANs and can optionally support 24-bit Fine Grain Labels (FGL) in addition to VLANs. (RFC 7172 "TRILL: Fine Grained Labeling")

## Competitors[edit]

During its development, the IEEE 802.1aq standard (Shortest Path Bridging – SPB) was considered the major competitor of TRILL. As one 2011 book noted, "the evaluation of relative merits and difference of the two standards proposals is currently a hotly debated topic in the networking industry."[15] Neither standard has seen significant adoption, in contrast to more recent overlay approaches such as EVPN.[16][17]

## Product support[edit]

* Shanghai Baud Data Communication S5800[18] and S9500[19]
* Zhejiang Dahua Technology DH-S7602[20] and DH-S7606[21]
* Extreme Networks BD-X series, Summit X670 series and Summit X770 series[22]
* HPE FlexFabric 5700,[23] 9540[24] and 12900E[25]
* Huawei CloudEngine 5800,[26] 6860,[27] 8800[28] and 12800[29]
* IgniteNet MeshLinq ML-S-4GE-1MGE[30][31]
* New H3C Technologies S6800,[32][33] S6860,[34][35] S10500[36] and S10500X[37][38]
* Ruijie Networks RG-S6220,[39][40] RG-S12000[41] and RG-N18000
* Shenzhen Youhua Technology YH-S5800[42] and YH-S9500[43]
* ZTE Corporation ZXR10 5960[44] and ZXR10 9900(-S)[45]

## References[edit]

1. ^ "Routing Bridges (RBridges): Base Protocol Specification".
2. ^ "All Systems Down" (PDF). cio.com. IDG Communications, Inc. Archived from the original (PDF) on 23 September 2020. Retrieved 9 January 2022.
3. ^ "All Systems Down". cio.com. IDG Communications, Inc. Archived from the original on 9 January 2022. Retrieved 9 January 2022.
4. ^ "Rbridges: Transparent Routing" (PDF). courses.cs.washington.edu. Radia Perlman, Sun Microsystems Laboratories. Archived from the original (PDF) on 9 January 2022. Retrieved 9 January 2022.
5. ^ "Rbridges: Transparent Routing". researchgate.net. Radia Perlman, Sun Microsystems; Donald Eastlake 3rd, Motorola.
6. ^ "TRILL Tutorial" (PDF). postel.org. Donald E. Eastlake 3rd, Huawei.
7. ^ "IEEE 802.1: 802.1aq - Shortest Path Bridging". ieee802.org. Institute of Electrical and Electronics Engineers.
8. ^ "PPP Transparent Interconnection of Lots of Links (TRILL) Protocol Control Protocol".
9. ^ "Transparent Interconnection of Lots of Links (TRILL) Transport Using Pseudowires".
10. ^ "Routing Bridges (RBridges): Appointed Forwarders".
11. ^ "GitHub - Gandi/quagga at dev_trill". GitHub. Retrieved 2023-05-10.
12. ^ MichaelQQ (2022-08-28), MichaelQQ/Quagga-PE, retrieved 2023-05-10
13. ^ "Cisco FabricPath". Data Center Handbook. 2014-03-06. Archived from the original on 2016-03-03. Retrieved 2014-10-14.
14. ^ "DON'T LIE ABOUT PROPRIETARY PROTOCOLS". 2011-03-04. Retrieved 2014-10-14.
15. ^ Borivoje Furht; Armando Escalante (2011). Handbook of Data Intensive Computing. Springer. p. 16\. ISBN 978-1-4614-1415-5.
16. ^ Hollingsworth, Tom (29 November 2021). "Migrating from FabricPath to EVPN/VxLAN". Retrieved 9 May 2023.
17. ^ Pepelnjak, Ivan (3 May 2022). "What Happened to FabricPath and Its Friends?". Retrieved 9 May 2023.
18. ^ "BDCOM S5800 Series" (PDF). bdcom.cn.
19. ^ "BDCOM S9500 Series" (PDF). bdcom.cn.
20. ^ DH-S7602
21. ^ DH-S7606
22. ^ "Q A: Which platforms do support TRILL? | Extreme Portal". extremeportal.force.com.
23. ^ "HPE FlexFabric 5700 Switch Series" (PDF). hpe.com.
24. ^ "HPE FlexFabric 5940 Switch Series" (PDF). hpe.com.
25. ^ "HPE FlexFabric 12900E Switch Series Data sheet" (PDF). hpe.com.
26. ^ "Huawei CloudEngine 5800 Series Data Center Switches". e-file.huawei.com.
27. ^ "Huawei CloudEngine 6860 Switch Datasheet". e-file.huawei.com.
28. ^ "Huawei CloudEngine 8800 Switch Datasheet". e-file.huawei.com.
29. ^ "Huawei CloudEngine 12800 Switch Datasheet". e-file.huawei.com.
30. ^ "IgniteNet™ MeshLinq™". ignitenet.com.
31. ^ "MeshLinq™ Datasheet" (PDF). ignitenet.com.
32. ^ "Products & Technology- H3C S6800 Series Data Center Switches- H3C". h3c.com.
33. ^ "H3C S6800 Series Data Center Switches" (PDF). downloadcdn.h3c.com.
34. ^ "Products & Technology- H3C S6860 Series Data Center Switches- H3C". h3c.com.
35. ^ "H3C S6860 Series Data Center Switches" (PDF). downloadcdn.h3c.com.
36. ^ "Products & Technology- H3C S10500 Series Switches- H3C". h3c.com.
37. ^ "Products & Technology- H3C S10500X Series Next Generation Multiservice Core Switch- H3C". h3c.com.
38. ^ "H3C S10500X Series Next Generation Multiservice Core Switch" (PDF). downloadcdn.h3c.com.
39. ^ "SwitchesRG-S6220 Switch Series - Ruijie networks". ruijienetworks.com.
40. ^ "RG-S6220 Series Data Center Switches Datasheet - Ruijie networks". ruijienetworks.com.
41. ^ "RG-S12000 Series Data Center Core Switch Datasheet - Ruijie networks". ruijienetworks.com.
42. ^ "YH-S5800 数据中心 TOR 交换机系列". youhuatech.com.
43. ^ "YH-S9500 高性能核心交换机系列". youhuatech.com.
44. ^ "ZXR10 5960 Series Switch - Ethernet Switch - ZTE Product". zte.com.cn.
45. ^ "ZXR10 9900(-S) Series Switch - Ethernet Switch - ZTE Product". zte.com.cn.

## External links[edit]

* TRILL Working Group Charter
* RFC 6325 "Routing Bridges (RBridges): Base Protocol Specification"
* RFC 6361 "PPP Transparent Interconnection of Lots of Links (TRILL) Protocol Control Protocol " (TRILL over PPP)
* RFC 6439 "Routing Bridges (RBridges): Appointed Forwarders"
* RFC 6847 "Fibre Channel over Ethernet (FCoE) over Transparent Interconnection of Lots of Links (TRILL)"
* RFC 6850 "Definitions of Managed Objects for Routing Bridges (RBridges)"
* RFC 7172 "TRILL: Fine Grained Labeling"
* RFC 7173 "TRILL: Transport Using Pseudowires"
* RFC 7175 "TRILL: Support of BFD"
* RFC 7176 "TRILL Use of IS-IS"
* RFC 7177 "TRILL: Adjacency"
* "Introduction to Trill" by Radia Perlman and Donald Eastlake
* Original RBridge paper, “Rbridges: Transparent Routing”
* RFC 5556, "Transparent Interconnection of Lots of Links (TRILL): Problem and Applicability Statement"
* The Great Debate: TRILL Versus 802.1aq (SBP), NANOG 50 session (October 2010)
* Dissecting Cisco's FabricPath Ethernet technology

*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template