summaryrefslogtreecommitdiff
path: root/templates/interfaces/multilink
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-14 16:24:50 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-14 16:24:50 -0700
commit17ed70940a38afa3da375c1b7621ceeb30530852 (patch)
tree32835a2060dc1169a86fb844c734a67a04991455 /templates/interfaces/multilink
parent6d86acc9789b48d00c3db826ebd4fa0c08a3df21 (diff)
downloadvyatta-cfg-quagga-17ed70940a38afa3da375c1b7621ceeb30530852.tar.gz
vyatta-cfg-quagga-17ed70940a38afa3da375c1b7621ceeb30530852.zip
Add option to disable link-detect on serial interfaces
Make serial behave same as ethernet
Diffstat (limited to 'templates/interfaces/multilink')
-rw-r--r--templates/interfaces/multilink/vif/node.tag/disable-link-detect/node.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/interfaces/multilink/vif/node.tag/disable-link-detect/node.def b/templates/interfaces/multilink/vif/node.tag/disable-link-detect/node.def
new file mode 100644
index 00000000..e85cadd9
--- /dev/null
+++ b/templates/interfaces/multilink/vif/node.tag/disable-link-detect/node.def
@@ -0,0 +1,6 @@
+help: ignore link state changes on this interface
+update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "interface $VAR(../../@).$VAR(../@)" \
+ -c "no link-detect"
+delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "interface $VAR(../../@).$VAR(../@)" \
+ -c "link-detect"
+