diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-12-03 10:09:22 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-12-03 10:09:22 -0800 |
commit | f89daedbc9af721db6e4d34bde0019229423f046 (patch) | |
tree | 728bac5756e33ebb6db19fd386d7360668ff16bf /templates/interfaces/bonding | |
parent | c6f60b18bf3c8cd324e73409647b002d40535367 (diff) | |
download | vyatta-cfg-quagga-f89daedbc9af721db6e4d34bde0019229423f046.tar.gz vyatta-cfg-quagga-f89daedbc9af721db6e4d34bde0019229423f046.zip |
use vyatta-link-detect
Diffstat (limited to 'templates/interfaces/bonding')
-rw-r--r-- | templates/interfaces/bonding/node.tag/vif/node.def | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/interfaces/bonding/node.tag/vif/node.def b/templates/interfaces/bonding/node.tag/vif/node.def index d37b045e..1aa35123 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.def +++ b/templates/interfaces/bonding/node.tag/vif/node.def @@ -5,8 +5,7 @@ syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 4094; "VLAN ID must be between 0 a create: sudo modprobe 8021q sudo vconfig add "$VAR(../@)" "$VAR(@)" sudo ip link set "$VAR(../@).$VAR(@)" up - vyatta-vtysh -c "configure terminal" \ - -c "interface $VAR(../@).$VAR(@)" -c "link-detect" + vyatta-link-detect $VAR(../@).$VAR(@) on delete: sudo vconfig rem "$VAR(../@).$VAR(@)" comp_help: possible completions: <0-4094> Set VLAN ID |