diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-01-16 18:00:27 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-01-16 18:00:27 -0800 |
commit | fd9a338fd30aa6d0a4618d938c7143f9986b13eb (patch) | |
tree | 484aae8a27f2e11eff7f0a53e7fa9c3b4edc80a2 /templates/interfaces/tunnel | |
parent | 4c31892eb4adc926a4301a2831ded92daa75c991 (diff) | |
download | vyatta-cfg-system-fd9a338fd30aa6d0a4618d938c7143f9986b13eb.tar.gz vyatta-cfg-system-fd9a338fd30aa6d0a4618d938c7143f9986b13eb.zip |
Add help and error message for 'set interfaces ethernet <dev> address
Diffstat (limited to 'templates/interfaces/tunnel')
-rw-r--r-- | templates/interfaces/tunnel/node.tag/address/node.def | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/interfaces/tunnel/node.tag/address/node.def b/templates/interfaces/tunnel/node.tag/address/node.def index 6cef105c..af198670 100644 --- a/templates/interfaces/tunnel/node.tag/address/node.def +++ b/templates/interfaces/tunnel/node.tag/address/node.def @@ -1,6 +1,10 @@ multi: type: txt -help: "Set IPv4 address and prefix for this interface" -syntax: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr $(@) --dev $(../@)" -update: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $(@) --dev $(../@)"; "Error setting address $(@) on dev $(../@)" -delete: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $(@) --dev $(../@)"; "Error deleting address $(@) on dev $(../@)" +help: "Configure an IP address for this interface" +syntax: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr $(@) --dev $(../@)"; "Invalid IP address/prefix [$(@)] for interface $(../@)" +update: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $(@) --dev $(../@)"; "Error setting address $(@) on interface $(../@)" +delete: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $(@) --dev $(../@)"; "Error deleting address $(@) on interface $(../@)" +#comp_help:Possible completions: +# <IP address>/<prefix length>\tSet the IP address and prefix length +# dhcp\t\t\t\tSet the IP address and prefix length via DHCP + |