]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: srv6 multiple segs SIDs documentation
authorDmytro Shytyi <dmytro.shytyi@6wind.com>
Wed, 26 Jul 2023 15:46:31 +0000 (17:46 +0200)
committerDmytro Shytyi <dmytro.shytyi@6wind.com>
Wed, 20 Sep 2023 13:07:15 +0000 (15:07 +0200)
Provide a paragraph for srv6 multiple segs SIDs in documentation
to describe the multiple segs functionality.

Signed-off-by: Dmytro Shytyi <dmytro.shytyi@6wind.com>
doc/user/static.rst

index 6d8aca97bbab82160183ad11565bd7487c6f7b4f..d405276573df34067ba9daa24f3130a34b507dae 100644 (file)
@@ -164,3 +164,23 @@ network 9.9.9.9/24:
 .. code-block:: frr
 
   ip route 9.9.9.9/24 6.6.6.6 color 123
+
+SRv6 Route Commands
+====================
+
+It is possible to specify a static route for ipv6 prefixes using an SRv6
+`segments` instruction. The `/` separator can be used to specify
+multiple segments instructions.
+
+.. code-block:: frr
+
+  ipv6 route X:X::X:X <X:X::X:X|nexthop> segments U:U::U:U/Y:Y::Y:Y/Z:Z::Z:Z
+
+
+::
+
+  router(config)# ipv6 route 2005::1/64 ens3 segments 2001:db8:aaaa::7/2002::4/2002::3/2002::2
+
+  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