diff options
author | Stig Thormodsrud <stig@uffda.(none)> | 2007-10-16 14:15:04 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@uffda.(none)> | 2007-10-16 14:15:04 -0700 |
commit | 281fcfb8dad9b66f027c39476a05aa5eff89fce1 (patch) | |
tree | b53963a6597304daffa6b2f1e9bae7f5722c7956 /templates/system/gateway-address/node.def | |
parent | 83331a0a334130cc438805c124fd05d93eddd5d0 (diff) | |
download | vyatta-cfg-quagga-281fcfb8dad9b66f027c39476a05aa5eff89fce1.tar.gz vyatta-cfg-quagga-281fcfb8dad9b66f027c39476a05aa5eff89fce1.zip |
- Fix "set system gateway".
- Add basic support for static routes.
Diffstat (limited to 'templates/system/gateway-address/node.def')
-rw-r--r-- | templates/system/gateway-address/node.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/system/gateway-address/node.def b/templates/system/gateway-address/node.def new file mode 100644 index 00000000..0bb8ed39 --- /dev/null +++ b/templates/system/gateway-address/node.def @@ -0,0 +1,5 @@ +type: txt +help: "Configure default gateway" +create: "/usr/bin/vtysh -c \"configure terminal\" -c \"ip route 0.0.0.0/0 $(@)\" " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"no ip route 0.0.0.0/0 $(@)\" " + |