From ed11b28b2f3e20a07cdfed869fcb2d1992c5f7f6 Mon Sep 17 00:00:00 2001 From: sever-sever Date: Mon, 27 Jul 2020 13:38:26 +0000 Subject: op-mode: T1117: Add show ipv6 bgp route-map --- Makefile | 1 + op-mode-definitions/show-ipv6-bgp.xml | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 op-mode-definitions/show-ipv6-bgp.xml diff --git a/Makefile b/Makefile index fecc093de..6c715d138 100644 --- a/Makefile +++ b/Makefile @@ -94,6 +94,7 @@ op_mode_definitions: rm -f $(OP_TMPL_DIR)/show/node.def rm -f $(OP_TMPL_DIR)/show/interfaces/node.def rm -f $(OP_TMPL_DIR)/show/ipv6/node.def + rm -f $(OP_TMPL_DIR)/show/ipv6/bgp/node.def rm -f $(OP_TMPL_DIR)/show/ipv6/route/node.def rm -f $(OP_TMPL_DIR)/restart/node.def rm -f $(OP_TMPL_DIR)/monitor/node.def diff --git a/op-mode-definitions/show-ipv6-bgp.xml b/op-mode-definitions/show-ipv6-bgp.xml new file mode 100644 index 000000000..67a8c8658 --- /dev/null +++ b/op-mode-definitions/show-ipv6-bgp.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + Show BGP routes matching the specified route map + + policy route-map + + + /usr/bin/vtysh -c "show bgp ipv6 route-map $5" + + + + + + + + -- cgit v1.2.3