Commit 91fbb1c7cb for frr
commit 91fbb1c7cb9cb8819da2e36f387f5178b179d47a
Author: Carmine Scarpitta <cscarpit@cisco.com>
Date: Sun Jul 5 14:06:43 2026 +0200
doc: Document EVPN VPN route advertisement CLI
Document advertise <ipv4|ipv6> vpn under the L2VPN EVPN address family,
including the route-map option and the gateway-ip limitation.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index 98cc9b274e..c5f737cfc5 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -4415,6 +4415,18 @@ with the following command:
.. clicmd:: no advertise <ipv4|ipv6> unicast skip-evpn-imported
+VPN routes can also be advertised as EVPN type-5 routes:
+
+.. clicmd:: advertise <ipv4|ipv6> vpn [route-map RMAP_NAME]
+
+When this CLI is configured under the L2VPN EVPN address family, selected
+IPv4/IPv6 VPN routes are exported to EVPN as type-5 routes. EVPN export route
+targets are attached according to the IP-VRF route-target configuration.
+If the VPN route carries an SRv6 L3 service attribute, the SRv6 SID is
+propagated to the EVPN type-5 route. The ``gateway-ip`` overlay index is only
+supported with ``advertise <ipv4|ipv6> unicast`` and cannot be used with the
+``vpn`` form.
+
2. Add gateway IP to EVPN type-5 route using a route-map:
.. clicmd:: set evpn gateway-ip <ipv4|ipv6> <addr>