Deployment Guide
OS10(conf-router-bgp-101-vrf)# address-family ipv4 unicast
OS10(configure-router-bgpv4-af)# redistribute l2vpn evpn
OS10(config)# router ospf 1 vrf GREEN
OS10(config-router-ospf-1)# redistribute l2vpn evpn
OS10(config)# router ospfv3 2 vrf GREEN
OS10(config-router-ospfv3-2)# redistribute l2vpn evpn
Supported
Releases
10.5.1 or later
route-target
Configures the Route Target (RT) values that EVPN routes use.
Syntax
route-target {auto | value {import | export | both} [asn4]}
Parameters
value {import
| export |
both}
Configure an RT import or export value, or both values in the format 2-octet-
ASN:4-octet-number or 4-octet-ASN:2-octet-number.
● The 2-octet ASN or number is 1 to 65535.
● The 4-octet ASN or number is 1 to 4294967295.
auto
Configure the RT import and export values to automatically generate.
asn4
(Optional) Advertises a 4-byte AS number in RT values.
Default Not configured
Command mode EVPN-EVI and EVPN-VRF
Usage
information
A RT determines how EVPN routes distribute among EVPN instances. Configure each RT with an import
and export value. When the EVPN routes advertise, the RT export value configured for export attaches to
each route. The receiving VTEP compares a route export value with the local RT import value. If the
values match, the routes download and install on the VTEP.
● For 2-byte autonomous systems, the RT auto-configures as Type 0 from the 2-byte AS and the 3-
byte VNI—Type encoded as 0x0002.
● For 4-byte autonomous systems, the RT auto-configures as Type 2 from the 4-byte AS and the 2-byte
EVI—Type encoded as 0x0202.
Configure a route target in a tenant VRF used for EVPN symmetric IRB traffic. The route-target
command is supported in EVPN-VRF mode in 10.5.1 and later releases. In EVPN-VRF command mode, the
manual route-target configuration should be unique across VRFs.
Example
OS10(config)# evpn
OS10(config-evpn)# evi 10
OS10(config-evpn-evi)# vni 10000
OS10(config-evpn-evi)# rd 111.111.111.111:65535
OS10(config-evpn-evi)# route-target 1:3 both
OS10(config)# evpn
OS10(config-evpn)# vrf vrf-blue
OS10(config-evpn-vrf-vrf-blue)# route-target auto
Supported
releases
10.4.2.0 or later
VXLAN 69