API Guide

Supported
releases
10.4.2.0 or later
rd
Configures the Route Distinguisher (RD) value that EVPN routes use.
Syntax
rd {A.B.C.D:[1-65535] | auto}
Parameters
A.B.C.D:
[1-65535]
Manually configure the RD with a 4-octet IPv4 address, then a 2-octet-number
from 1 to 65535.
auto
Configure the RD to automatically generate.
Default Not configured
Command mode EVPN-EVI and EVPN-VRF
Usage
information
A RD maintains the uniqueness of an EVPN route between different EVPN instances. Configure a route
distinguisher in a tenant VRF used for EVPN symmetric IRB traffic. The RD auto-configures as Type 1
from the overlay network source IP address and the auto-generated EVPN instance ID.
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
OS10(config-evpn)# vrf vrf-blue
OS10(config-evpn-vrf-vrf-blue)# rd 111.111.111.111:65000
Supported
releases
10.4.2.0 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 VNIType encoded as 0x0002.
For 4-byte autonomous systems, the RT auto-configures as Type 2 from the 4-byte AS and the 2-byte
EVIType encoded as 0x0202.
936 VXLAN