summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-interfaces-ethernet.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-interfaces-ethernet.xml b/op-mode-definitions/show-interfaces-ethernet.xml
index ec23a39c2..6068f9e57 100644
--- a/op-mode-definitions/show-interfaces-ethernet.xml
+++ b/op-mode-definitions/show-interfaces-ethernet.xml
@@ -19,6 +19,12 @@
</properties>
<command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief</command>
</leafNode>
+ <leafNode name="identify">
+ <properties>
+ <help>Visually identify specified ethernet interface</help>
+ </properties>
+ <command>echo "Blinking interface $4 for 30 seconds."; /sbin/ethtool --identify "$4" 30</command>
+ </leafNode>
<node name="physical">
<properties>
<help>Show physical device information for specified ethernet interface</help>