summaryrefslogtreecommitdiff
path: root/interface-templates
diff options
context:
space:
mode:
authorJon Andersson <Jon.Andersson@Thales.no>2009-08-14 08:04:51 +0200
committerStig Thormodsrud <stig@vyatta.com>2009-08-14 11:50:12 -0700
commit89ead0745fc7cd0599dce684d425acfab0034066 (patch)
tree72cd0d2c623f4dc6a1022b8828cf4cdbce7072d3 /interface-templates
parent7a7c7c4249e44a8d1904822108ac50a17570c4e8 (diff)
downloadvyatta-cfg-quagga-89ead0745fc7cd0599dce684d425acfab0034066.tar.gz
vyatta-cfg-quagga-89ead0745fc7cd0599dce684d425acfab0034066.zip
Reset to default value when deleted
Diffstat (limited to 'interface-templates')
-rw-r--r--interface-templates/ipv6/ospfv3/dead-interval/node.def2
-rw-r--r--interface-templates/ipv6/ospfv3/hello-interval/node.def2
-rw-r--r--interface-templates/ipv6/ospfv3/instance-id/node.def2
-rw-r--r--interface-templates/ipv6/ospfv3/priority/node.def2
-rw-r--r--interface-templates/ipv6/ospfv3/retransmit-interval/node.def2
-rw-r--r--interface-templates/ipv6/ospfv3/transmit-delay/node.def2
6 files changed, 6 insertions, 6 deletions
diff --git a/interface-templates/ipv6/ospfv3/dead-interval/node.def b/interface-templates/ipv6/ospfv3/dead-interval/node.def
index 41c0e624..45b64376 100644
--- a/interface-templates/ipv6/ospfv3/dead-interval/node.def
+++ b/interface-templates/ipv6/ospfv3/dead-interval/node.def
@@ -5,6 +5,6 @@ syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535"
update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "ipv6 ospf6 dead-interval $VAR(@)"
delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
- -c "no ipv6 ospf6 dead-interval"
+ -c "ipv6 ospf6 dead-interval 40"
comp_help: possible completions:
<1-65535> Seconds (default 40)
diff --git a/interface-templates/ipv6/ospfv3/hello-interval/node.def b/interface-templates/ipv6/ospfv3/hello-interval/node.def
index 81a4d624..d0c07c82 100644
--- a/interface-templates/ipv6/ospfv3/hello-interval/node.def
+++ b/interface-templates/ipv6/ospfv3/hello-interval/node.def
@@ -5,6 +5,6 @@ syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535"
update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "ipv6 ospf6 hello-interval $VAR(@)"
delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
- -c "no ipv6 ospf6 hello-interval"
+ -c "ipv6 ospf6 hello-interval 10"
comp_help: possible completions:
<1-65535> Seconds (default 10)
diff --git a/interface-templates/ipv6/ospfv3/instance-id/node.def b/interface-templates/ipv6/ospfv3/instance-id/node.def
index aab2ee2a..b2bb5bf6 100644
--- a/interface-templates/ipv6/ospfv3/instance-id/node.def
+++ b/interface-templates/ipv6/ospfv3/instance-id/node.def
@@ -3,6 +3,6 @@ help: Set instance-id for this interface
default: 0
syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Must be between 0-255"
update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 instance-id $VAR(@)"
-delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf6 instance-id"
+delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 instance-id 0"
comp_help: possible completions:
<0-255> Instance Id (default 0)
diff --git a/interface-templates/ipv6/ospfv3/priority/node.def b/interface-templates/ipv6/ospfv3/priority/node.def
index 89484918..a537ad99 100644
--- a/interface-templates/ipv6/ospfv3/priority/node.def
+++ b/interface-templates/ipv6/ospfv3/priority/node.def
@@ -3,6 +3,6 @@ help: Set router priority
default: 1
syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Must be between 0-255"
update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 priority $VAR(@)"
-delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ipv6 ospf6 priority"
+delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ipv6 ospf6 priority 1"
comp_help: possible completions:
<0-255> Priority (default 1)
diff --git a/interface-templates/ipv6/ospfv3/retransmit-interval/node.def b/interface-templates/ipv6/ospfv3/retransmit-interval/node.def
index 073294ac..d70dfdfb 100644
--- a/interface-templates/ipv6/ospfv3/retransmit-interval/node.def
+++ b/interface-templates/ipv6/ospfv3/retransmit-interval/node.def
@@ -5,6 +5,6 @@ syntax:expression: $VAR(@) >= 3 && $VAR(@) <= 65535; "Must be between 3-65535"
update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "ipv6 ospf6 retransmit-interval $VAR(@)"
delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
- -c "no ipv6 ospf6 retransmit-interval"
+ -c "ipv6 ospf6 retransmit-interval 5"
comp_help: possible completions:
<3-65535> Seconds (default 5)
diff --git a/interface-templates/ipv6/ospfv3/transmit-delay/node.def b/interface-templates/ipv6/ospfv3/transmit-delay/node.def
index a8469f57..fee66637 100644
--- a/interface-templates/ipv6/ospfv3/transmit-delay/node.def
+++ b/interface-templates/ipv6/ospfv3/transmit-delay/node.def
@@ -5,6 +5,6 @@ syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535"
update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "ipv6 ospf6 transmit-delay $VAR(@)"
delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
- -c "no ipv6 ospf6 transmit-delay"
+ -c "ipv6 ospf6 transmit-delay 1"
comp_help: possible completions:
<1-65535> Seconds (default 1)