From bc6d311d28b11af7533762a9e85f5dd8c7b5c525 Mon Sep 17 00:00:00 2001 From: Dmytro Shytyi Date: Wed, 26 Jul 2023 17:46:31 +0200 Subject: [PATCH] doc: srv6 multiple segs SIDs documentation Provide a paragraph for srv6 multiple segs SIDs in documentation to describe the multiple segs functionality. Signed-off-by: Dmytro Shytyi --- doc/user/static.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/user/static.rst b/doc/user/static.rst index 6d8aca97bb..d405276573 100644 --- a/doc/user/static.rst +++ b/doc/user/static.rst @@ -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 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