Deployment Guide

Example -
advertise IPv6
OSPF routes to
L2VPN EVPN
OS10# configure terminal
OS10(config)# route-map redis-inactive-routes
OS10(config-route-map)# match inactive-path-additive
OS10(config)# evpn
OS10(config-evpn)# vrf vrf-blue
OS10(config-evpn-vrf-vrf-blue)# advertise ipv6 ospf route-map redis-
inactive-routes
Supported
Releases
10.5.1 or later
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.
66 VXLAN