From 6d0f666ae13ac67bb63d89dcabe49d21f51c13a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Mon, 29 Jan 2024 14:46:43 +0100 Subject: [PATCH] CLI: OSPF: Add database and routes as show ospf subcommands --- src/klish-plugin-infix/xml/infix.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/klish-plugin-infix/xml/infix.xml b/src/klish-plugin-infix/xml/infix.xml index 8d0000ba..c37f35da 100644 --- a/src/klish-plugin-infix/xml/infix.xml +++ b/src/klish-plugin-infix/xml/infix.xml @@ -288,6 +288,8 @@ neighbor interfaces + routes + database bfd @@ -298,6 +300,10 @@ vtysh -c "show ip ospf neighbor" elif [ "$KLISH_PARAM_name" == "interfaces" ];then vtysh -c "show ip ospf interface" + elif [ "$KLISH_PARAM_name" == "routes" ];then + vtysh -c "show ip ospf route" + elif [ "$KLISH_PARAM_name" == "database" ];then + vtysh -c "show ip ospf database" elif [ "$KLISH_PARAM_name" == "bfd" ];then vtysh -c "show bfd peers" fi