summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorYuqing Zhao <galadriel.zyq@alibaba-inc.com>2025-01-13 11:51:34 +0100
committerYuqing Zhao <galadriel.zyq@alibaba-inc.com>2025-01-18 11:28:49 +0100
commitf56a77359b475c67bb3ddc872f56cb04ec1cea45 (patch)
treebe99c66829461b5b961ceec572b8d26074ffcfad /doc
parenttests: Add topotest for SRv6 static SIDs (diff)
downloadfrr-f56a77359b475c67bb3ddc872f56cb04ec1cea45.tar.xz
frr-f56a77359b475c67bb3ddc872f56cb04ec1cea45.zip
doc: Add support for SRv6 static sid CLI
Add the srv6 static sids configuration and show running-config sections in static.rst. Signed-off-by: Yuqing Zhao <galadriel.zyq@alibaba-inc.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/user/static.rst49
1 files changed, 49 insertions, 0 deletions
diff --git a/doc/user/static.rst b/doc/user/static.rst
index 922c71a07..5bf5004a6 100644
--- a/doc/user/static.rst
+++ b/doc/user/static.rst
@@ -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