]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: Add documentation for SRv6 IPv4 traffic steering
authorCarmine Scarpitta <cscarpit@cisco.com>
Tue, 24 Dec 2024 08:22:52 +0000 (09:22 +0100)
committerCarmine Scarpitta <cscarpit@cisco.com>
Mon, 3 Feb 2025 21:21:16 +0000 (22:21 +0100)
Add an example of how to steer IPv4 traffic over an SRv6 SID list.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
doc/user/static.rst

index 5bf5004a66fb49f084a3c4166d3f31f0e86dec80..0ce6e2107e7c8f4f69da9900dd2872401aafc97a 100644 (file)
@@ -177,6 +177,20 @@ multiple segments instructions.
   [..]
   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
 
+STATIC also supports steering of IPv4 traffic over an SRv6 SID list, as shown in the example below.
+
+.. code-block:: frr
+
+  ip route A.B.C.D <A.B.C.D|nexthop> segments U:U::U:U/Y:Y::Y:Y/Z:Z::Z:Z
+
+::
+
+  router(config)# ip route 10.0.0.0/24 sr0 segments fcbb:bbbb:1:2:3:fe00::
+
+  router# show ip route
+  [..]
+  S>* 10.0.0.0/24 [1/0] is directly connected, sr0, seg6 fcbb:bbbb:1:2:3:fe00::, weight 1, 00:00:06
+
 SRv6 Static SIDs Commands
 =========================