From 9766ba72fbaa13ff5b5da67a561fce9ed1d8d0ce Mon Sep 17 00:00:00 2001 From: sever-sever Date: Thu, 26 Mar 2020 18:01:26 +0200 Subject: pim-igmp: T2156: Commands for [op-mode] pim and igmp --- op-mode-definitions/show-ip-igmp.xml | 48 +++++++++++++++++++++ op-mode-definitions/show-ip-multicast.xml | 12 ++++++ op-mode-definitions/show-ip-pim.xml | 72 +++++++++++++++++++++++++++++++ 3 files changed, 132 insertions(+) create mode 100644 op-mode-definitions/show-ip-igmp.xml create mode 100644 op-mode-definitions/show-ip-pim.xml (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-ip-igmp.xml b/op-mode-definitions/show-ip-igmp.xml new file mode 100644 index 000000000..b8f2f9107 --- /dev/null +++ b/op-mode-definitions/show-ip-igmp.xml @@ -0,0 +1,48 @@ + + + + + + + + + Show IGMP (Internet Group Management Protocol) information + + + + + IGMP groups information + + /usr/bin/vtysh -c "show ip igmp groups" + + + + IGMP interfaces information + + /usr/bin/vtysh -c "show ip igmp interface" + + + + IGMP static join information + + /usr/bin/vtysh -c "show ip igmp join" + + + + IGMP sources information + + /usr/bin/vtysh -c "show ip igmp sources" + + + + IGMP statistics + + /usr/bin/vtysh -c "show ip igmp statistics" + + + + + + + + diff --git a/op-mode-definitions/show-ip-multicast.xml b/op-mode-definitions/show-ip-multicast.xml index 6ffe40436..5331d2e35 100644 --- a/op-mode-definitions/show-ip-multicast.xml +++ b/op-mode-definitions/show-ip-multicast.xml @@ -21,6 +21,18 @@ if ps -C igmpproxy &>/dev/null; then ${vyos_op_scripts_dir}/show_igmpproxy.py --mfc; else echo IGMP proxy not configured; fi + + + IP multicast information + + /usr/bin/vtysh -c "show ip multicast" + + + + IP multicast routing table + + /usr/bin/vtysh -c "show ip mroute" + diff --git a/op-mode-definitions/show-ip-pim.xml b/op-mode-definitions/show-ip-pim.xml new file mode 100644 index 000000000..3f4edc779 --- /dev/null +++ b/op-mode-definitions/show-ip-pim.xml @@ -0,0 +1,72 @@ + + + + + + + + + Show PIM (Protocol Independent Multicast) information + + + + + PIM interfaces information + + /usr/bin/vtysh -c "show ip pim interface" + + + + PIM join information + + /usr/bin/vtysh -c "show ip pim join" + + + + PIM neighbor information + + /usr/bin/vtysh -c "show ip pim neighbor" + + + + PIM cached nexthop rpf information + + /usr/bin/vtysh -c "show ip pim nexthop" + + + + PIM state information + + /usr/bin/vtysh -c "show ip pim state" + + + + PIM statistics + + /usr/bin/vtysh -c "show ip pim statistics" + + + + PIM RP (Rendevous Point) information + + /usr/bin/vtysh -c "show ip pim rp-info" + + + + PIM cached source rpf information + + /usr/bin/vtysh -c "show ip pim rpf" + + + + PIM upstream information + + /usr/bin/vtysh -c "show ip pim upstream" + + + + + + + + -- cgit v1.2.3