Users 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 learned external routes into EVPN.
route-map map-name (Optional) Filter EVPN Type-5 advertised routes using the specified
route map. You can add the match rule inactive-path-additive to the route map to advertise
inactive routes.
Default None
Command Mode EVPN-VRF
Usage
Information
EVPN uses Type 5 route advertisements. To specify the types of learned routes to use in EVPN Type 5
advertisements in a tenant VRF, use the advertise command. From Release 10.5.2.0 and beyond, the
advertise command advertises only active routes. To advertise both the active and inactive routes,
you must configure a route map with the inactive-path-additive rule and apply the route map to
the advertise command.
Example
advertise active
routes
OS10(config)# evpn
OS10(config-evpn)# vrf vrf-blue
OS10(config-evpn-vrf-vrf-blue)# advertise ipv4 connected route-map map-
connected
Example -
advertise IPv4
static 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 ipv4 static route-map redis-
inactive-routes
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
1194 VXLAN