From 2d8c098ada1f9c17dbad713b3bdfcf97c88661a3 Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Sat, 23 Jul 2022 20:14:51 +0200 Subject: [PATCH] doc: add doc for "sid vpn per-vrf export" command This command adds the documentation for the "sid vpn per-vrf export (1..255)|auto" command to bgpd. Signed-off-by: Carmine Scarpitta --- doc/user/bgp.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index e32a84f80c..4fdb8e089b 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -2921,6 +2921,23 @@ L3VPN SRv6 Specify the SRv6 locator to be used for SRv6 L3VPN. The Locator name must be set in zebra, but user can set it in any order. +General configuration +^^^^^^^^^^^^^^^^^^^^^ + +Configuration of the SRv6 SID used to advertise a L3VPN for both IPv4 and IPv6 +is accomplished via the following command in the context of a VRF: + +.. clicmd:: sid vpn per-vrf export (1..255)|auto + + Enables a SRv6 SID to be attached to a route exported from the current + unicast VRF to VPN. A single SID is used for both IPv4 and IPv6 address + families. If you want to set a SID for only IPv4 address family or IPv6 + address family, you need to use the command ``sid vpn export (1..255)|auto`` + in the context of an address-family. If the value specified is ``auto``, + the SID value is automatically assigned from a pool maintained by the Zebra + daemon. If Zebra is not running, or if this command is not configured, automatic + SID assignment will not complete, which will block corresponding route export. + .. _bgp-evpn: Ethernet Virtual Network - EVPN