]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: Add support for SRv6 static sid CLI 16894/head
authorYuqing Zhao <galadriel.zyq@alibaba-inc.com>
Mon, 13 Jan 2025 10:51:34 +0000 (11:51 +0100)
committerYuqing Zhao <galadriel.zyq@alibaba-inc.com>
Sat, 18 Jan 2025 10:28:49 +0000 (10:28 +0000)
Add the srv6 static sids configuration and
show running-config sections in static.rst.

Signed-off-by: Yuqing Zhao <galadriel.zyq@alibaba-inc.com>
doc/user/static.rst

index 922c71a073a7a7f9b169d673426354799d8231bf..5bf5004a66fb49f084a3c4166d3f31f0e86dec80 100644 (file)
@@ -176,3 +176,52 @@ multiple segments instructions.
   router# show ipv6 route
   [..]
   S>* 2005::/64 [1/0] is directly connected, ens3, seg6 2001:db8:aaaa::7,2002::4,2002::3,2002::2, weight 1, 00:00:06
+
+SRv6 Static SIDs Commands
+=========================
+
+.. clicmd:: segment-routing
+
+   Move from configure mode to segment-routing node.
+
+.. clicmd:: srv6
+
+   Move from segment-routing node to srv6 node.
+
+.. clicmd:: static-sids
+
+   Move from srv6 node to static-sids node. In this static-sids node, user can
+   configure static SRv6 SIDs.
+
+.. clicmd:: sid X:X::X:X/M locator NAME behavior <uN|uDT4|uDT6|uDT46> [vrf VRF]
+
+   Specify the locator sid manually. Configuring a local sid in a purely static mode
+   by specifying the sid value would generate a unique SID.
+   This feature will support the configuration of static SRv6 decapsulation on the system.
+
+   It supports four parameter options, corresponding to the following functions:
+   uN, uDT4, uDT6, uDT46
+
+   When configuring the local sid, if the action is set to 'uN', no vrf should be set.
+   While for any other action, it is necessary to specify a specific vrf.
+
+::
+
+   router# configure terminal
+   router(config)# segment-routing
+   router(config-sr)# srv6
+   router(config-srv6)# static-sids
+   router(config-srv6-sids)# sid fcbb:bbbb:1:fe01::/64 locator LOC1 behavior uDT6 vrf Vrf1
+   router(config-srv6-sids)# sid fcbb:bbbb:1:fe02::/64 locator LOC1 behavior uDT4 vrf Vrf1
+   router(config-srv6-sids)# sid fcbb:bbbb:1:fe03::/64 locator LOC1 behavior uDT46 vrf Vrf2
+
+   router(config-srv6-locator)# show run
+   ...
+   segment-routing
+    srv6
+     static-sids
+      sid    fcbb:bbbb:1:fe01::/64 locator LOC1 behavior uDT6 vrf Vrf1
+      sid    fcbb:bbbb:1:fe02::/64 locator LOC1 behavior uDT4 vrf Vrf1
+      sid    fcbb:bbbb:1:fe03::/64 locator LOC1 behavior uDT46 vrf Vrf2
+       !
+   ...
\ No newline at end of file