From a6c5fe6ea239fccb7769f9d9977f133161c58da4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 10 Jun 2018 18:06:27 +0200 Subject: T683: Initial version for SNMP op mode command definition in XML --- op-mode-definitions/snmp.xml | 111 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 op-mode-definitions/snmp.xml (limited to 'op-mode-definitions/snmp.xml') diff --git a/op-mode-definitions/snmp.xml b/op-mode-definitions/snmp.xml new file mode 100644 index 000000000..a0a47da40 --- /dev/null +++ b/op-mode-definitions/snmp.xml @@ -0,0 +1,111 @@ + + + + + + + Show status of SNMP on localhost + + + + + Show status of SNMP community + + + + + ${vyos_op_scripts_dir}/snmp.py --community="$4" + + + + Show status of SNMP on remote host + + ${vyos_op_scripts_dir}/snmp.py --community="$4" --host "$6" + + + + + + Show SNMP MIB information + + + + + Show all SNMP interfaces MIB information + + ${vyos_op_scripts_dir}/snmp_ifmib.py + + + + Show SNMP ifAlias for specified interface + + + + + ${vyos_op_scripts_dir}/snmp_ifmib.py --ifalias="$6" + + + + Show SNMP ifDescr for specified interface + + + + + ${vyos_op_scripts_dir}/snmp_ifmib.py --ifdescr="$6" + + + + Show SNMP ifDescr for specified interface + + + + + ${vyos_op_scripts_dir}/snmp_ifmib.py --ifindex="$6" + + + + + + + + Show SNMP v3 status on localhost + + ${vyos_op_scripts_dir}/snmp_v3.py --all + + + + Show TSM certificates + + ${vyos_op_scripts_dir}/snmp_v3_showcerts.sh + + + + Show the list of configured groups + + ${vyos_op_scripts_dir}/snmp_v3.py --group + + + + Show the list of configured targets + + ${vyos_op_scripts_dir}/snmp_v3.py --trap + + + + Show the list of configured users + + ${vyos_op_scripts_dir}/snmp_v3.py --user + + + + Show the list of configured views + + ${vyos_op_scripts_dir}/snmp_v3.py --view + + + + + + + + -- cgit v1.2.3