]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: Add example for show specific SID CLI
authorCarmine Scarpitta <cscarpit@cisco.com>
Sun, 15 Sep 2024 21:14:54 +0000 (23:14 +0200)
committerCarmine Scarpitta <cscarpit@cisco.com>
Sat, 19 Apr 2025 10:59:43 +0000 (10:59 +0000)
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
doc/user/zebra.rst

index 1b74ecb15f129803c25abcb3a5f1bea44cd71402..2280e722ef9e0cf282b95ff6b249554bfc7eee41 100644 (file)
@@ -925,6 +925,63 @@ and this section also helps that case.
     fcbb:bbbb:1:e000::    uA          Interface 'eth-sw1'    isis(0)            MAIN       dynamic
     fcbb:bbbb:1:e001::    uA          Interface 'eth-sw1'    isis(0)            MAIN       dynamic
 
+   router# show segment-routing srv6 sid fc00:0:1:e000:: detail
+    SID                   Behavior    Context                Daemon/Instance    Locator    Allocation Type
+    --------------------  ----------  ---------------------  -----------------  ---------  -----------------
+    fcbb:bbbb:1::         uN          -                      isis(0)            MAIN       dynamic
+    fcbb:bbbb:1:e000::    uA          Interface 'eth-sw1'    isis(0)            MAIN       dynamic
+
+   router# show segment-routing srv6 sid json
+   {
+      "fc00:0:1::":{
+         "sid":"fc00:0:1::",
+         "behavior":"uN",
+         "context":{},
+         "locator":"loc1",
+         "allocationMode":"dynamic",
+         "clients":[
+            {
+            "proto":"isis",
+            "instance":0
+            }
+         ]
+      },
+      "fc00:0:1:1::":{
+         "sid":"fc00:0:1:1::",
+         "behavior":"uA",
+         "context":{
+            "interfaceIndex":2,
+            "interfaceName":"eth-sw1",
+            "nexthopIpv6Address":"fe80::4423:f3ff:fe8b:fed"
+         },
+         "locator":"loc1",
+         "allocationMode":"dynamic",
+         "clients":[
+            {
+            "proto":"isis",
+            "instance":0
+            }
+         ]
+      },
+      "fc00:0:1:2::":{
+         "sid":"fc00:0:1:2::",
+         "behavior":"uA",
+         "context":{
+            "interfaceIndex":2,
+            "interfaceName":"eth-sw1",
+            "nexthopIpv6Address":"fe80::9005:fdff:fe18:1237"
+         },
+         "locator":"loc1",
+         "allocationMode":"dynamic",
+         "clients":[
+            {
+            "proto":"isis",
+            "instance":0
+            }
+         ]
+      }
+   }
+
 .. clicmd:: segment-routing
 
    Move from configure mode to segment-routing node.