summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2023-08-23 21:00:52 +0200
committerGitHub <noreply@github.com>2023-08-23 21:00:52 +0200
commit9a08e1a8748fcf87ff35ac563453c59288adbd01 (patch)
treedb7308a019fd3c796878e62b40670e1f9e773c3d /docs
parent7a6d98bb37ce0b510fb39a92b16918c65a2bd1d8 (diff)
parent0317aa327da6698aadfc1679a6216d93be073f0c (diff)
downloadvyos-documentation-9a08e1a8748fcf87ff35ac563453c59288adbd01.tar.gz
vyos-documentation-9a08e1a8748fcf87ff35ac563453c59288adbd01.zip
Merge pull request #1061 from fett0/mpls-label-allocation-mode
l3vpn : add label allocation mode documentation
Diffstat (limited to 'docs')
-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>]