summaryrefslogtreecommitdiff
path: root/isisd/isis_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/isis_cli.c')
-rw-r--r--isisd/isis_cli.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/isisd/isis_cli.c b/isisd/isis_cli.c
index 6f53ab479f..b455352699 100644
--- a/isisd/isis_cli.c
+++ b/isisd/isis_cli.c
@@ -2037,6 +2037,15 @@ void cli_show_isis_prefix_sid_algorithm(struct vty *vty,
vty_out(vty, "\n");
}
+void cli_show_isis_srv6_enabled(struct vty *vty, const struct lyd_node *dnode,
+ bool show_defaults)
+{
+ if (!yang_dnode_get_bool(dnode, NULL))
+ vty_out(vty, " no");
+
+ vty_out(vty, " segment-routing srv6\n");
+}
+
/*
* XPath: /frr-isisd:isis/instance/fast-reroute/level-{1,2}/lfa/priority-limit
*/