diff options
5 files changed, 30 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" + diff --git a/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/disable-link-detect/node.def b/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/disable-link-detect/node.def new file mode 100644 index 00000000..e85cadd9 --- /dev/null +++ b/templates/interfaces/serial/node.tag/cisco-hdlc/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" + diff --git a/templates/interfaces/serial/node.tag/disable-link-detect/node.def b/templates/interfaces/serial/node.tag/disable-link-detect/node.def new file mode 100644 index 00000000..768c0eb2 --- /dev/null +++ b/templates/interfaces/serial/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(../@)" \ + -c "no link-detect" +delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "interface $VAR(../@)" \ + -c "link-detect " + diff --git a/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/disable-link-detect/node.def b/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/disable-link-detect/node.def new file mode 100644 index 00000000..e85cadd9 --- /dev/null +++ b/templates/interfaces/serial/node.tag/frame-relay/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" + diff --git a/templates/interfaces/serial/node.tag/ppp/vif/node.tag/disable-link-detect/node.def b/templates/interfaces/serial/node.tag/ppp/vif/node.tag/disable-link-detect/node.def new file mode 100644 index 00000000..e85cadd9 --- /dev/null +++ b/templates/interfaces/serial/node.tag/ppp/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" + |