summaryrefslogtreecommitdiff
path: root/templates/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'templates/interfaces')
-rw-r--r--templates/interfaces/ethernet/node.tag/link-detect/node.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/link-detect/node.def b/templates/interfaces/ethernet/node.tag/link-detect/node.def
new file mode 100644
index 00000000..c9d356d0
--- /dev/null
+++ b/templates/interfaces/ethernet/node.tag/link-detect/node.def
@@ -0,0 +1,5 @@
+help: "detect link state changes"
+update: "/usr/bin/vtysh -c \"configure terminal\" -c \"interface $(../@)\" \
+ -c \"link-detect"
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"interface $(../@)\" \
+ -c \"no link-detect \"; "