From 07d76397cb55f1bfdee844b193c0f8fff6964660 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 14:21:49 +0100 Subject: [PATCH] Fix #2-3: 'QOS precedence' and 'dependencies/dependency' --- templates/cisco_ios_show_ip_cef.textfsm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index de289b563a..6e91970bf2 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -66,8 +66,8 @@ Start # Stop processing Flags (max 4) ^.*?epoch.*?$$ # Extract extra Flag, such as recursive - ^.*?dependencies,\s+${FLAGS} - ^.*?dependencies + ^.*?dependenc(?:y|ies),\s+${FLAGS} + ^.*?dependenc(?:y|ies) # Extract Nexthop and Interface ^\s+next\s+hop\s+${NEXTHOP}\s*$$ ^\s+next\s+hop\s+${NEXTHOP},\s+${INTERFACE} @@ -82,6 +82,7 @@ Start # # Ignore JUNK # + ^\s+Q[Oo]S ^\s+Special\s+source ^\s+Interface\s+source ^\s+Adj\s+source