Users Guide

auto-evi
Creates an EVPN instance automatically, including Route Distinguisher (RD) and Route Target (RT) values.
Syntax
auto-evi
Parameters None
Default Not configured
Command mode EVPN
Usage
information
In deployments running BGP with 2-byte or 4-byte autonomous systems, auto-EVI automatically creates
EVPN instances when you create a virtual network on a VTEP in the overlay network. In auto-EVI mode,
the RD and RT values automatically generate:
For a 2-byte autonomous system:
The RD auto-configures as Type 1 from the overlay network source IP address and the auto-
generated EVI index.
The RT auto-configures as Type 0 from the 2-byte AS and the 3-byte VNIType encoded as
0x0002.
For a 4-byte autonomous system:
The RD auto-configures as Type 1 from the overlay network source IP address and the auto-
generated EVI index.
The RT auto-configures as Type 2 from the 4-byte AS and the 2-byte EVIType encoded as
0x0202.
Example
OS10(config)# evpn
OS10(config-evpn)# auto-evi
Supported
releases
10.4.2.0 or later
disable-rt-asn
Sets the ASN value to 0 in auto-derived route targets.
Syntax
disable-rt-asn
Parameters None
Default Not configured
Command mode EVPN
Usage
information
In a Clos leaf-spine topology, if you configure the leaf nodes (VTEPs) in separate ASNs, the system
cannot use the route targets that are automatically generated using the auto-evi or route-target
auto commands. The route target includes the ASN and the route targets derived on each of the leaf
nodes differ from one another.
In such eBGP EVPN scenarios, use the disable-rt-asn command to automatically provision route
targets in the leaf nodes. When you use this command, the export route-target has the ASN value
set to 0 and ensures that identical route targets are generated on all the leaf nodes. The leaf VTEPs can
import EVPN routes only based on VNI, even though the leaf VTEPs are on different ASNs.
This command is applicable when you use the auto-evi or route-target auto commands for EVIs,
symmetric IRB VRFs, or both.
Note: You must manually configure the route target and set the ASN value to 0 in other vendor switches
that do not support the disable-rt-asn feature.
Example 1
OS10(config)# evpn
OS10(config-evpn)# auto-evi
OS10(config-evpn)# disable-rt-asn
VXLAN 1195