Edge-Routed Bridging for QFX Series Switches
Starting with Contrail Networking Release 5.1, the edge-routed bridging (ERB) for QFX series switches feature configures the inter-VN unicast traffic routing to occur at the leaf (ToR) switches in an IP CLOS with underlay connectivity topology. The ERB feature introduces the ERB-UCAST-Gateway and CRB-MCAST-Gateway roles in Contrail Networking Release 5.1. ERB is supported on the following devices running Junos OS Release 18.1R3 and later:
Contrail Networking supports assigning physical roles and routing bridging (overlay) roles to a networking device like a switch. The roles define the routing and bridging responsibilities of the device in the data center. A device can have one physical role and one or more routing bridging roles. In releases prior to Contrail Networking Release 5.1, Contrail Networking supports centrally-routed bridging (CRB) roles on data center devices. In CRB, when you configure the logical router to allow traffic to flow between Ethernet virtual network instances, the routing occurs at the spine device. Traffic is routed from the leaf to the spine and back. IRB interfaces are configured in the overlay at each spine device to route traffic between virtual networks. Contrail Networking Release 5.1, supports the ERB-UCAST-Gateway role in which the routing occurs at the leaf switch. The IRB interfaces are configured at the leaf switch to enable unicast traffic routing at the leaf switch.
Traffic is routed in lesser hops when routed at the leaf switches. For example, consider two bare metal servers belonging to two separate VNs. Unicast traffic between the VNs is routed at the leaf switch and doesn’t need to flow to the spine and back. Traffic is routed through the shortest path.
When you configure the ERB-UCAST-Gateway role on the leaf switches, it is recommended that you also configure the CRB-MCAST-Gateway role for multicast traffic on the corresponding spine devices. The CRB-MCAST-Gateway role is also supported from Contrail Networking Release 5.1. While unicast traffic can be routed at the leaf switches, multicast traffic routing still occurs at the spine devices. The existing CRB-Gateway role is capable of routing both unicast and multicast traffic at the spine devices. However, in ERB, if leaf switches route the unicast traffic, configuring the CRB-Gateway role on the spine is unnecessary since unicast traffic will never reach the spine device. Instead, you must configure the spine devices with the CRB-MCAST-Gateway role to route multicast traffic when required.
Benefits of ERB
Traffic is routed through the shortest path.
When you extend a logical router to a physical router, you can extend the logical router to leaf switches as well . Previously, logical routers could only be extended to the spine devices.