From a9a020bac532c6432fafb8101a74bd58c08a8720 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 21 Mar 2021 18:09:15 +0000 Subject: isis: T3417: ad per vrf op-mode commands --- op-mode-definitions/include/isis-common.xml.i | 179 ++++++++++++++++++++++++++ op-mode-definitions/show-isis.xml.in | 178 +------------------------ 2 files changed, 186 insertions(+), 171 deletions(-) create mode 100644 op-mode-definitions/include/isis-common.xml.i (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/include/isis-common.xml.i b/op-mode-definitions/include/isis-common.xml.i new file mode 100644 index 000000000..b1ee3e241 --- /dev/null +++ b/op-mode-definitions/include/isis-common.xml.i @@ -0,0 +1,179 @@ + + + + Show IS-IS link state database + + + + + Show detailed information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IS-IS link state database PDU + + lsp-id detail + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IS-IS dynamic hostname mapping + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IS-IS interfaces + + + + + + + + Show detailed information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show specific IS-IS interface + + + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IS-IS MPLS traffic engineering information + + + + + Show router information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show interface information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show specific IS-IS interface + + + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IS-IS neighbor adjacencies + + + + + Show detailed information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + vtysh -c "show isis neighbor" + + + + Show specific IS-IS neighbor adjacency + + system-id + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IS-IS routing table + + + + + Show level-1 routes + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show level-2 routes + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + vtysh -c "show isis route" + + + + Show IS-IS Segment-Routing (SPRING) information + + + + + Show node information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show prefix segment IDs + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IS-IS SPF delay parameters + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IS-IS information summary + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IS-IS paths to Intermediate Systems + + + + + Show level-1 routes + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show level-2 routes + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + diff --git a/op-mode-definitions/show-isis.xml.in b/op-mode-definitions/show-isis.xml.in index 890d511e2..202e3214b 100644 --- a/op-mode-definitions/show-isis.xml.in +++ b/op-mode-definitions/show-isis.xml.in @@ -4,186 +4,22 @@ - IS-IS routing protocol + Show IS-IS routing protocol - + #include + - Show IS-IS link state database - - - - - Show detailed information - - vtysh -c "show isis database detail" - - - vtysh -c "show isis database" - - - - Show IS-IS link state database PDU - - lsp-id detail - - - vtysh -c "show isis database $4" - - - - Show IS-IS dynamic hostname mapping - - vtysh -c "show isis hostname" - - - - Show IS-IS interfaces + Show IS-IS routing protocol for given VRF - + vrf name + all - - - Show detailed information - - vtysh -c "show isis interface detail" - - - vtysh -c "show isis interface" - - - - Show specific IS-IS interface - - - - - vtysh -c "show isis interface $4" - - - - Show IS-IS MPLS traffic engineering information - - - - - Show router information - - vtysh -c "show isis mpls-te router" - - - - Show interface information - - vtysh -c "show isis mpls-te interface" - - - - Show specific IS-IS interface - - - - - vtysh -c "show isis mpls-te interface $5" - - - - - - Show IS-IS neighbor adjacencies - - - - - Show detailed information - - vtysh -c "show isis neighbor detail" - + #include - vtysh -c "show isis neighbor" - - - - Show specific IS-IS neighbor adjacency - - system-id - - - vtysh -c "show isis neighbor $4" - - - Show IS-IS routing table - - - - - Show level-1 routes - - vtysh -c "show isis route level-1" - - - - Show level-2 routes - - vtysh -c "show isis route level-2" - - - vtysh -c "show isis route" - - - - Show IS-IS Segment-Routing (SPRING) information - - - - - Show node information - - vtysh -c "show isis segment-routing node" - - - - Show prefix segment IDs - - vtysh -c "show isis segment-routing prefix-sids" - - - - - - Show IS-IS SPF delay parameters - - vtysh -c "show isis spf-delay-ietf" - - - - Show IS-IS information summary - - vtysh -c "show isis summary" - - - - Show IS-IS paths to Intermediate Systems - - - - - Show level-1 routes - - vtysh -c "show isis topology level-1" - - - - Show level-2 routes - - vtysh -c "show isis topology level-2" - - - vtysh -c "show isis topology" - -- cgit v1.2.3 From 0a34f23012f5f0621d5d15a1a5c30c04dfc68bf9 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 21 Mar 2021 19:53:04 +0100 Subject: op-mode: add "show zebra" commands to query RIB informations --- op-mode-definitions/show-zebra.xml.in | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 op-mode-definitions/show-zebra.xml.in (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-zebra.xml.in b/op-mode-definitions/show-zebra.xml.in new file mode 100644 index 000000000..b0ad37f49 --- /dev/null +++ b/op-mode-definitions/show-zebra.xml.in @@ -0,0 +1,54 @@ + + + + + + + Zebra routing information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Client information + + + + + Brief Summary + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Zebra dataplane information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Zebra Router Information + + + + + Table Information about this Zebra Router + + + + + Summary Information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + + + + + -- cgit v1.2.3