diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-29 11:33:23 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-29 11:33:23 -0800 |
commit | 74351d1c564ccc23fce3a5cb5614e5620d62fe65 (patch) | |
tree | 4390b67eb06101b234f6791d814fae38d4832186 | |
parent | 3c2ae811d8de8af92a3264dcd33be88d5fb2a554 (diff) | |
parent | da1b14c17bd954f7a61289f8fdd9cdf35d698fb0 (diff) | |
download | vyatta-cfg-74351d1c564ccc23fce3a5cb5614e5620d62fe65.tar.gz vyatta-cfg-74351d1c564ccc23fce3a5cb5614e5620d62fe65.zip |
Merge branch 'glendale' of git.vyatta.com:/git/vyatta-cfg into glendale
-rw-r--r-- | templates/interfaces/ethernet/node.tag/vif/node.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.def b/templates/interfaces/ethernet/node.tag/vif/node.def index cd2eb0b..b7af406 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.def @@ -5,6 +5,8 @@ syntax: $(@) >= 0 && $(@) <= 4095; "VLAN ID must be between 0 and 4095" create: "sudo modprobe 8021q"; "Error loading 802.1q driver" create: "sudo vconfig add $(../@) $(@)"; "Error adding VLAN id $(@) to dev $(../@)" create: "sudo ip link set $(../@).$(@) up"; "Error enabling VLAN id $(@) on dev $(../@)" +update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"interface $(../@).$(@)\" \ + -c \"link-detect\"; " delete: "sudo vconfig rem $(../@).$(@)"; "Error removing VLAN id $(@) from dev $(../@)" #comp_help: possible completions: # <0-4095> Set VLAN ID |