Configuring EVPN over Transport Class Tunnels
Use transport class to define the transport tunnels that offer the same type of service. You can apply the transport class to tunnels based on the customer's required traffic service, such as low-latency or high-bandwidth traffic. We support EVPN over transport class tunnels. For example, we can have an EVPN network with different types of service and use different colors to identify the different transport class. We can use gold to identify a transport class for the low-latency traffic and bronze to identify the transport class for all other traffic. By mapping the colors to the different tunnels, the device maps the EVPN packets to the configured next hop for the transport tunnel.
We support the following EVPN services over transport tunnels:
-
EVPN-VPWS
-
EVPN-ELAN
-
EVPN-ETREE
You can configure EVPN over transport class tunnels on top of an existing underlay network. The basic steps for configuring EVPN over transport class tunnels are:
-
Define the transport class at the ingress or egress node. For this example, we define a gold and bronze transport class and assign community values to them.
routing-options { transport-class { auto-create; name gold { color 100; } name bronze { color 200; } } }
-
Provision the transport tunnel and assign the tunnel to a specific transport class at the ingress node of the tunnels.
-
BGP-CT
For information about BGP-CT, see Color-Based Traffic Engineering Configuration.
mpls { label-switched-path toPE11-gold { to 10.1.1.1; transport-class gold; } label-switched-path toPE11-bronze { to 10.1.1.1; transport-class bronze; } }
-
IS-IS Flex Algorithm
For information about IS-IS flexible algorithm, see Configuring Flexible Algorithm for Segment Routing Traffic Engineering.
flex-algorithm 128 { definition { priority 13; } color 100; use-transport-class; } flex-algorithm 129 { definition { metric-type te-metric; } color 200; use-transport-class; }
-
RSVP-TE
For information about RSVP-TE, see MPLS Traffic Engineering Configuration.
regress@asbr12# show protocols mpls label-switched-path toPE11-gold { to 10.1.1.1; transport-class gold; } label-switched-path toPE11-bronze { to 10.1.1.1; transport-class bronze; }
-
SR-TE
For information about SR-TE, see Understanding Source Packet Routing in Networking (SPRING).
source-packet-routing { segment-list sl-pe1-pe3-gold { hop-1 label 1000112; hop-2 label 1000223; } segment-list sl-pe1-pe3-bronze { hop-1 label 1000112; hop-2 label 1000323; } source-routing-path lsp-pe1-pe3-gold { to 10.3.3.3; color 100; primary { sl-pe1-pe3-gold; } } source-routing-path lsp-pe1-pe3-bronze { to 10.3.3.3; color 200; primary { sl-pe1-pe3-bronze; } } use-transport-class; }
-
- Configure policies to import and export
traffic.
policy-statement vrf-import-evpn { term a { from { protocol bgp; community rt-evpn; } then { community add map2gold; accept; } } term b { then reject; } } policy-statement vrf-export-evpn { term a { then { community add map2gold; community add rt-evpn; accept; } } term b { then reject; } } community map2gold members color:0:100; community rt-evpn members target:100:2;
-
Configure EVPN services.
-
EVPN-VPWS
routing-instances { evpn-vpws { instance-type evpn-vpws; protocols { evpn { interface ge-0/0/1.4 { vpws-service-id { local 102; remote 201; } } } } interface ge-0/0/1.4; route-distinguisher 10.255.1.1:20; vrf-import vrf-import-evpnvpws; vrf-export vrf-export-evpnvpws; }
-
EVPN ELAN
routing-instances { evpn { instance-type evpn; protocols { evpn; } vlan-id 2; routing-interface irb.1; interface ge-0/0/0.3; route-distinguisher 10.255.1.1:4; vrf-import vrf-import-evpn; vrf-export vrf-export-evpn; } }
-
EVPN-ETREE
xe-2/1/1 { flexible-vlan-tagging; encapsulation flexible-ethernet-services; unit 100 { encapsulation vlan-bridge; vlan-id 100; etree-ac-role root; } } evpn-etree { instance-type evpn; protocols { evpn { interface xe-2/1/1.100; evpn-etree; } } vlan-id 100; interface xe-2/1/1.100; route-distinguisher 10.255.0.1:100; vrf-import vrf-import-evpn; vrf-export vrf-export-evpn; }
-