summaryrefslogtreecommitdiff
path: root/interface-templates/ip/ospf/authentication/md5
diff options
context:
space:
mode:
Diffstat (limited to 'interface-templates/ip/ospf/authentication/md5')
-rw-r--r--interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def6
-rw-r--r--interface-templates/ip/ospf/authentication/md5/node.def8
2 files changed, 5 insertions, 9 deletions
diff --git a/interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def
index 2cae238a..97d1f693 100644
--- a/interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def
+++ b/interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def
@@ -9,16 +9,16 @@ comp_help: possible completions:
# If this node is created
create:
- vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
+ vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "ip ospf message-digest-key $VAR(../@) md5 $VAR(@)"
# If the value of this node is changed
update:
- vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
+ vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "no ip ospf message-digest-key $VAR(../@)" \
-c "ip ospf message-digest-key $VAR(../@) md5 $VAR(@)"
# If this node is deleted
delete:
- vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
+ vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "no ip ospf message-digest-key $VAR(../@)"
diff --git a/interface-templates/ip/ospf/authentication/md5/node.def b/interface-templates/ip/ospf/authentication/md5/node.def
index 1fcf3e64..1f3c8519 100644
--- a/interface-templates/ip/ospf/authentication/md5/node.def
+++ b/interface-templates/ip/ospf/authentication/md5/node.def
@@ -1,14 +1,10 @@
help: Set MD5 key id
-create:
- vyatta-vtysh \
- -c "configure terminal" \
+create: vtysh -c "configure terminal" \
-c "interface $IFNAME" \
-c "no ip ospf authentication" \
-c "ip ospf authentication message-digest"
-delete:
- vyatta-vtysh \
- -c "configure terminal" \
+delete: vtysh -c "configure terminal" \
-c "interface $IFNAME" \
-c "no ip ospf authentication"