Virtual Ethernet segments

SR OS supports virtual Ethernet Segments (vES) for EVPN multihoming in accordance with draft-ietf-bess-evpn-virtual-eth-segment.

Regular ESs can only be associated with ports, LAGs, and SDPs, which satisfies the redundancy requirements for CEs that are directly connected to the ES PEs by a port, LAG, or SDP. However, this implementation does not work when an aggregation network exists between the CEs and the ES PEs, which requires different ESs to be defined for the port or LAG of the SDP.

Figure: All-active multihoming on vES shows an example of how CE1 and CE2 use all-active multihoming to the EVPN-MPLS network despite the third-party Ethernet aggregation network to which they are connected.

Figure: All-active multihoming on vES

The ES association can be made in a more granular way by creating a vES. A vES can be associated with the following:

The following CLI examples show the vES configuration options:

config>service>system>bgp-evpn#
...
ethernet-segment vES-1 virtual create
 lag 1 
 dot1q 
   qtag-range 100 to 200
...
ethernet-segment vES-2 virtual create
 port 1/1/1 
 qinq
   s-tag 1 c-tag-range 100 to 200
   s-tag-range 2 to 10
...
ethernet-segment vES-3 virtual create
 sdp 1 
 vc-id-range 1000 to 2000
...

Where:

Although qtag values 0, * and 1 to 4094 are allowed, the following considerations must be taken in to account when configuring a dot1q or qinq vES:

Table: Examples of supported qtag values lists examples of the supported qtag values between 1 to 4094.

Table: Examples of supported qtag values
vES configuration for port 1/1/1 SAP association

dot1q qtag-range 100

1/1/1:100

dot1q qtag-range 100 to 102

1/1/1:100, 1/1/1:101, 1/1/1:102

qinq s-tag 100 c-tag-range 200

1/1/1:100.200

qinq s-tag-range 100

All the SAPs 1/1/1:100.x

where: x is a value between 1 to 4094, 0, *

qinq s-tag-range 100 to 102

All SAPs 1/1/1:100.x, 1/1/1:101.x, 1/1/1:102.x

where: x is a value between 1 to 4094, 0, *

Table: Examples of supported combinations lists all the supported combinations that include qtag values <0, *, null>. Any other combination of these special values is not supported.

Table: Examples of supported combinations
vES configuration for port 1/1/1 SAP association

dot1q qtag-range 0

1/1/1:0

dot1q qtag-range *

1/1/1:*

qinq s-tag 0 c-tag-range *

1/1/1:0.*

qinq s-tag * c-tag-range *

1/1/1:*.*

qinq s-tag * c-tag-range null

1/1/1:*.null

qinq s-tag x c-tag-range 0

1/1/1:x.0

where: x is a value between 1 to 4094

qinq s-tag x c-tag-range *

1/1/1:x.*

where: x is a value between 1 to 4094

On vESs, the single-active and all-active modes are supported for EVPN-MPLS VPLS, Epipe, and PBB-EVPN services. Single-active multihoming is supported on port and SDP-based vESs, and all-active multihoming is only supported on LAG-based vESs.

The following considerations apply if the vES is used with PBB-EVPN services: