diff options
Diffstat (limited to 'templates/system/gateway-address')
-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 $(@)\" " + |