From 4a75bb5a6027e1444c9ba0dbf48af30514b077bf Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 22 Dec 2019 15:34:49 +0100 Subject: lldp: T393: first op mode command version --- op-mode-definitions/lldp.xml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 op-mode-definitions/lldp.xml (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/lldp.xml b/op-mode-definitions/lldp.xml new file mode 100644 index 000000000..105bfe237 --- /dev/null +++ b/op-mode-definitions/lldp.xml @@ -0,0 +1,37 @@ + + + + + + + Show LLDP (Link Layer Discovery Protocol) + + + + + Show LLDP neighbors + + ${vyos_op_scripts_dir}/lldp_op.py --all + + + + Show LLDP neighbor details + + /usr/sbin/lldpctl -f plain + + + + Show LLDP for specified interface + + + + + ${vyos_op_scripts_dir}/lldp_op.py --interface $4 + + + + + + + + -- cgit v1.2.3