From 6dc4156ccfa72dc5d3c0d649353f243dcb392934 Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Wed, 16 Oct 2019 22:07:56 +0000 Subject: T1740 Fixed OSPFv2 virtual-link authentication (cherry picked from commit 716e78fa6d52e873b347180087faa461d7511d80) --- .../node.tag/virtual-link/node.tag/authentication/md5/key-id/node.def | 3 ++- .../area/node.tag/virtual-link/node.tag/authentication/md5/node.def | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.def b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.def index 3a5c98de..afaad490 100644 --- a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.def +++ b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/key-id/node.def @@ -13,7 +13,8 @@ end:expression: "\ vtysh -c \"configure terminal\" \ -c \"router ospf\" \ -c \"no area $VAR(../../../../@) \ - virtual-link $VAR(../../../@) message-digest-key $VAR(@)\"; \ + virtual-link $VAR(../../../@) message-digest-key $VAR(@) \ + md5 _\"; \ rm /tmp/ospf-md5.$PPID; \ else \ vtysh -c \"configure terminal\" \ diff --git a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/node.def b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/node.def index 312efb87..e04a2036 100644 --- a/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/node.def +++ b/templates/protocols/ospf/area/node.tag/virtual-link/node.tag/authentication/md5/node.def @@ -4,7 +4,7 @@ commit:expression: $VAR(../plaintext-password/) == "" ; "plaintext-password alre create: vtysh -c "configure terminal" \ -c "router ospf" \ -c "no area $VAR(../../../@) virtual-link $VAR(../../@) \ - authentication-key" \ + authentication-key _" \ -c "area $VAR(../../../@) virtual-link $VAR(../../@) \ authentication message-digest"; -- cgit v1.2.3