API Guide

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
Example 2
OS10(config)# evpn
OS10(config-evpn)# disable-rt-asn
OS10(config-evpn)# evi 1001
OS10(config-evpn-evi-1001)# route-target auto
OS10(config-evpn)# vrf BLUE
OS10(config-evpn-vrf-BLUE)# vni 64001
OS10(config-evpn-vrf-BLUE)# route-target auto
OS10(config-evpn-vrf-BLUE)#
Supported
releases
10.5.1.0 or later
evi
Creates an EVPN instance (EVI) in EVPN mode.
Syntax
evi id
Parameters
id
Enter the EVPN instance ID, from 1 to 65535.
Default Not configured
Command mode EVPN
64 BGP EVPN for VXLAN