API Guide

Supported
releases
10.4.2.0 or later
VXLAN EVPN commands
advertise
Advertises the IP prefixes learned from external networks and directly connected neighbors into EVPN.
Syntax
advertise {ipv4 | ipv6} {connected | static| ospf | bgp} [route-map map-name]
Parameters
ipv4 — Advertise learned IPv4 routes.
ipv6 — Advertise learned IPv6 routes.
connected — Advertise routes learned from directly connected neighbors.
static — Advertise manually configured routes.
ospf — Advertise OSPF routes into EVPN.
bgp — Advertise BGP learnt external routes into EVPN.
route-map map-name — (Optional) Filter EVPN Type-5 advertised routes using the specified route map.
Default None
Command Mode EVPN-VRF
Usage Information EVPN uses Type 5 route advertisements. Use the advertise command to specify the types of learned routes
to use in EVPN Type 5 advertisements in a tenant VRF.
Example
OS10(config)# evpn
OS10(config-evpn)# vrf vrf-blue
OS10(config-evpn-vrf-vrf-blue)# advertise ipv4 connected route-map map-
connected
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 VNI—Type 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 EVI—Type encoded as 0x0202.
BGP EVPN for VXLAN 63