summaryrefslogtreecommitdiff
path: root/doc/user/static.rst
diff options
context:
space:
mode:
authorSebastien Merle <sebastien@netdef.org>2020-02-14 14:49:25 +0000
committerSebastien Merle <sebastien@netdef.org>2020-08-12 13:28:48 +0200
commit065276ae1f437c54b33ebcc2201bf105bae39dda (patch)
treea834df39aa4aaf4644ad16e3cd0a3abb666506eb /doc/user/static.rst
parentb2a18903e7108ae42c523dacdd00bf19d8ea1f1c (diff)
staticd: add support for SR Policies
Configuration example: ip route 9.9.9.9/32 6.6.6.6 color 123 The SR Policy to be chosen is uniquely identified by the policy endpoint (6.6.6.6) and the SR-TE color (123). Traffic will be augmented with an MPLS label stack according to the active candidate path of that particular policy. Co-authored-by: GalaxyGorilla <sascha@netdef.org> Signed-off-by: Sebastien Merle <sebastien@netdef.org>
Diffstat (limited to 'doc/user/static.rst')
-rw-r--r--doc/user/static.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/user/static.rst b/doc/user/static.rst
index 09bdc9cbea..6302d1b148 100644
--- a/doc/user/static.rst
+++ b/doc/user/static.rst
@@ -128,3 +128,15 @@ but this time, the route command will apply to the VRF.
ip route 10.0.0.0/24 10.0.0.2
exit-vrf
+
+SR-TE Route Commands
+====================
+
+It is possible to specify a route using a SR-TE policy configured in Zebra.
+
+e.g. to use the SR-TE policy with endpoint 6.6.6.6 and color 123 to reach the
+network 9.9.9.9/24:
+
+.. code-block:: frr
+
+ ip route 9.9.9.9/24 6.6.6.6 color 123