summaryrefslogtreecommitdiff
path: root/docs/configuration/vrf/index.rst
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2023-08-23 13:54:19 -0300
committerfett0 <fernando.gmaidana@gmail.com>2023-08-23 13:54:19 -0300
commit0317aa327da6698aadfc1679a6216d93be073f0c (patch)
treedb7308a019fd3c796878e62b40670e1f9e773c3d /docs/configuration/vrf/index.rst
parent7a6d98bb37ce0b510fb39a92b16918c65a2bd1d8 (diff)
downloadvyos-documentation-0317aa327da6698aadfc1679a6216d93be073f0c.tar.gz
vyos-documentation-0317aa327da6698aadfc1679a6216d93be073f0c.zip
l3vpn : add label allocation mode documentation
Diffstat (limited to 'docs/configuration/vrf/index.rst')
-rw-r--r--docs/configuration/vrf/index.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/configuration/vrf/index.rst b/docs/configuration/vrf/index.rst
index 8834ad33..a51aca52 100644
--- a/docs/configuration/vrf/index.rst
+++ b/docs/configuration/vrf/index.rst
@@ -425,6 +425,14 @@ address-family.
automatically assigned from a pool maintained.
.. cfgcmd:: set vrf name <name> protocols bgp address-family
+ <ipv4-unicast|ipv6-unicast> label vpn allocation-mode per-nexthop
+
+ Select how labels are allocated in the given VRF. By default, the per-vrf
+ mode is selected, and one label is used for all prefixes from the VRF. The
+ per-nexthop will use a unique label for all prefixes that are reachable via
+ the same nexthop.
+
+.. cfgcmd:: set vrf name <name> protocols bgp address-family
<ipv4-unicast|ipv6-unicast> route-map vpn <import|export>
[route-map <name>]