From 213f2b37baacca09eadc357e0b884f03e1084d4d Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Wed, 13 May 2020 23:59:10 +0100 Subject: [PATCH 1/3] Added support for Cisco IOS traceroute command This template can parse 'numeric' and 'non-numeric' versions of the output, including extra details, such as MPLS Exp bits, ASNs and MPLS labels (if available) Supports up to 10 probes per hop Captures RTT, or fault reason per probe/per hop Excessive probes per hop (11th and above) are ignored --- templates/cisco_ios_traceroute.textfsm | 44 ++ templates/index | 1 + .../traceroute/cisco_ios_traceroute_1.raw | 8 + .../traceroute/cisco_ios_traceroute_1.yml | 35 ++ .../traceroute/cisco_ios_traceroute_2.raw | 24 + .../traceroute/cisco_ios_traceroute_2.yml | 146 ++++++ .../traceroute/cisco_ios_traceroute_3.raw | 52 ++ .../traceroute/cisco_ios_traceroute_3.yml | 467 ++++++++++++++++++ .../traceroute/cisco_ios_traceroute_4.raw | 19 + .../traceroute/cisco_ios_traceroute_4.yml | 98 ++++ .../traceroute/cisco_ios_traceroute_5.raw | 33 ++ .../traceroute/cisco_ios_traceroute_5.yml | 182 +++++++ .../traceroute/cisco_ios_traceroute_dns.raw | 17 + .../traceroute/cisco_ios_traceroute_dns.yml | 102 ++++ .../traceroute/cisco_ios_traceroute_ip.raw | 28 ++ .../traceroute/cisco_ios_traceroute_ip.yml | 167 +++++++ 16 files changed, 1423 insertions(+) create mode 100644 templates/cisco_ios_traceroute.textfsm create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_1.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_2.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_3.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_4.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_4.yml create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_5.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_5.yml create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.raw create mode 100644 tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml diff --git a/templates/cisco_ios_traceroute.textfsm b/templates/cisco_ios_traceroute.textfsm new file mode 100644 index 0000000000..e77d3dab74 --- /dev/null +++ b/templates/cisco_ios_traceroute.textfsm @@ -0,0 +1,44 @@ +Value Required,Filldown HOP_NUM (\d+) +Value ADDRESS ((?:\d{1,3}\.){3}\d{1,3}) +Value FQDN (\S+) +# Captures RTT (in milliseconds), or faults, like +# - * (probe timed out) +# - !H (destination host unreachable) +# - !N (destination network unreachable) +# - !P (destination protocol unreachable) +# - !A (administratively prohibited, aka ACL deny) +# - !Q (source quench, aka destination too busy) +# - !I (user interrupted test) +# - !T (timeout) +# - ? (unknown packet type) +Value List RTT_RESPONSE (\d+(?=\s+msec)|![A-Z]|\*|\?) +# Some intermediate devices provide additional information, such as +# - ASN +# - MPLS Exp Bits / Labels +# This is captured into details field +Value DETAILS (.*) + +Start + ^Type\s+escape + ^Tracing\s+the\s+route + ^VRF\s+info: -> Entries + ^\s*$$ + ^.*$$ -> Error + +Entries + ^\s+${HOP_NUM}\s+ -> Continue + ^.*?${FQDN}\s+\(${ADDRESS}\)\s+(?:\[${DETAILS}\])? -> Continue + ^.*?${ADDRESS}\s+(?:\[${DETAILS}\])? -> Continue + ^.*?${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){1}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){2}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){3}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){4}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){5}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){6}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){7}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){8}${RTT_RESPONSE} -> Continue + ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){9}${RTT_RESPONSE} -> Continue + ^.* -> Record + +EOF \ No newline at end of file diff --git a/templates/index b/templates/index index 70e7285b8e..9fd36b1e21 100644 --- a/templates/index +++ b/templates/index @@ -215,6 +215,7 @@ cisco_ios_show_ip_bgp.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] bgp cisco_ios_show_tacacs.textfsm, .*, cisco_ios, sh[[ow]] tacacs cisco_ios_show_clock.textfsm, .*, cisco_ios, sh[[ow]] clo[[ck]] cisco_ios_show_dmvpn.textfsm, .*, cisco_ios, sh[[ow]] dm[[vpn]] +cisco_ios_traceroute.textfsm, .*, cisco_ios, tr[[aceroute]] cisco_ios_show_boot.textfsm, .*, cisco_ios, sh[[ow]] boot cisco_ios_show_vlan.textfsm, .*, cisco_ios, sh[[ow]] vlan cisco_ios_show_vrf.textfsm, .*, cisco_ios, sh[[ow]] vrf diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.raw new file mode 100644 index 0000000000..7d1b1db5e6 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.raw @@ -0,0 +1,8 @@ +Type escape sequence to abort. +Tracing the route to 10.133.2.1 +VRF info: (vrf in name/id, vrf out name/id) + 1 10.180.133.121 1 msec + 10.180.133.125 1 msec + 10.180.133.121 0 msec + 10.180.133.125 2 msec + 2 10.180.133.177 1 msec * 2 msec * \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml new file mode 100644 index 0000000000..bf0b8a719b --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - hop_num: "1" + nh_address: "10.180.133.121" + nh_hostname: "" + rtt_response: + - "1" + details: "" + - hop_num: "1" + nh_address: "10.180.133.125" + nh_hostname: "" + rtt_response: + - "1" + details: "" + - hop_num: "1" + nh_address: "10.180.133.121" + nh_hostname: "" + rtt_response: + - "0" + details: "" + - hop_num: "1" + nh_address: "10.180.133.125" + nh_hostname: "" + rtt_response: + - "2" + details: "" + - hop_num: "2" + nh_address: "10.180.133.177" + nh_hostname: "" + rtt_response: + - "1" + - "*" + - "2" + - "*" + details: "" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.raw new file mode 100644 index 0000000000..fe03d80266 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.raw @@ -0,0 +1,24 @@ +Type escape sequence to abort. +Tracing the route to 10.225.2.1 +VRF info: (vrf in name/id, vrf out name/id) + 1 10.180.140.150 1 msec 1 msec 1 msec + 2 172.17.10.225 169 msec 142 msec 135 msec + 3 108.170.246.129 13 msec * * * * * * * * * + 4 74.125.242.97 14 msec + 216.239.63.218 12 msec + 172.253.68.212 13 msec + 74.125.242.97 13 msec + 216.239.56.192 13 msec + 74.125.242.97 13 msec + 108.170.238.117 13 msec + 216.239.58.220 13 msec + 74.125.242.97 13 msec 13 msec + 5 216.58.204.46 13 msec + 74.125.242.115 12 msec + 74.125.242.114 15 msec + 108.170.238.117 12 msec + 108.170.238.119 13 msec + 74.125.242.83 12 msec 12 msec 13 msec + 74.125.242.82 12 msec + 108.170.238.117 14 msec + 6 172.17.10.225 !H * !H \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml new file mode 100644 index 0000000000..dbbe7bd182 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml @@ -0,0 +1,146 @@ +--- +parsed_sample: + - hop_num: "1" + nh_address: "10.180.140.150" + nh_hostname: "" + rtt_response: + - "1" + - "1" + - "1" + details: "" + - hop_num: "2" + nh_address: "172.17.10.225" + nh_hostname: "" + rtt_response: + - "169" + - "142" + - "135" + details: "" + - hop_num: "3" + nh_address: "108.170.246.129" + nh_hostname: "" + rtt_response: + - "13" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "4" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "14" + details: "" + - hop_num: "4" + nh_address: "216.239.63.218" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "4" + nh_address: "172.253.68.212" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "4" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "4" + nh_address: "216.239.56.192" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "4" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "4" + nh_address: "108.170.238.117" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "4" + nh_address: "216.239.58.220" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "4" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "13" + - "13" + details: "" + - hop_num: "5" + nh_address: "216.58.204.46" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "5" + nh_address: "74.125.242.115" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "5" + nh_address: "74.125.242.114" + nh_hostname: "" + rtt_response: + - "15" + details: "" + - hop_num: "5" + nh_address: "108.170.238.117" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "5" + nh_address: "108.170.238.119" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "5" + nh_address: "74.125.242.83" + nh_hostname: "" + rtt_response: + - "12" + - "12" + - "13" + details: "" + - hop_num: "5" + nh_address: "74.125.242.82" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "5" + nh_address: "108.170.238.117" + nh_hostname: "" + rtt_response: + - "14" + details: "" + - hop_num: "6" + nh_address: "172.17.10.225" + nh_hostname: "" + rtt_response: + - "!H" + - "*" + - "!H" + details: "" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.raw new file mode 100644 index 0000000000..691cc6eb0e --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.raw @@ -0,0 +1,52 @@ +Type escape sequence to abort. +Tracing the route to dns.google (8.8.8.8) +VRF info: (vrf in name/id, vrf out name/id) + 1 10.255.1.1 2 msec 1 msec 1 msec 2 msec 1 msec 1 msec 1 msec 1 msec 1 msec 1 msec + 2 10.255.0.5 1 msec 1 msec 1 msec 0 msec 1 msec 0 msec 1 msec 0 msec 0 msec 1 msec + 3 192.168.1.254 1 msec 1 msec 1 msec 1 msec 1 msec 1 msec * 1 msec * 1 msec + 4 * * * * * * * * * * + 5 * * * * * * * * * + 31.55.185.181 12 msec + 6 31.55.185.188 16 msec 18 msec 12 msec 13 msec 12 msec 11 msec 12 msec 17 msec 12 msec 12 msec + 7 core2-hu0-8-0-1.colindale.ukcore.bt.net (195.99.127.152) 11 msec + core1-hu0-12-0-1.colindale.ukcore.bt.net (195.99.127.214) 11 msec + core2-hu0-16-0-8.colindale.ukcore.bt.net (213.121.192.44) 13 msec 13 msec + core1-hu0-16-0-7.colindale.ukcore.bt.net (213.121.192.18) 11 msec + core2-hu0-16-0-8.colindale.ukcore.bt.net (213.121.192.44) 11 msec + core1-hu0-12-0-1.colindale.ukcore.bt.net (195.99.127.214) 12 msec + core1-hu0-17-0-5.colindale.ukcore.bt.net (195.99.127.150) 12 msec + core2-hu0-6-0-6.colindale.ukcore.bt.net (213.121.192.24) 12 msec + core1-hu0-15-0-9.colindale.ukcore.bt.net (213.121.192.14) 11 msec + 8 peer3-et-0-0-1.redbus.ukcore.bt.net (62.172.103.238) 12 msec + peer7-et-4-0-1.telehouse.ukcore.bt.net (194.72.16.122) 14 msec + core2-hu0-7-0-0.colindale.ukcore.bt.net (194.72.16.128) 12 msec + peer8-et-0-1-1.telehouse.ukcore.bt.net (109.159.252.150) 12 msec + 194.72.16.230 12 msec + peer2-et-3-0-4.slough.ukcore.bt.net (109.159.252.122) 17 msec + peer3-et-0-0-1.redbus.ukcore.bt.net (62.172.103.238) 17 msec + 194.72.16.190 12 msec + peer7-et-0-0-1.telehouse.ukcore.bt.net (62.172.103.158) 12 msec + peer8-et-7-0-1.telehouse.ukcore.bt.net (109.159.252.104) 12 msec + 9 109.159.253.189 12 msec + peer5-te0-0-0-32.telehouse.ukcore.bt.net (195.99.126.77) 12 msec + 109.159.253.73 12 msec + 109.159.253.237 13 msec + peer5-te0-0-0-32.telehouse.ukcore.bt.net (195.99.126.77) 13 msec + 109.159.253.3 12 msec + 109.159.253.219 11 msec + 109.159.253.237 12 msec + 109.159.253.187 13 msec + 109.159.253.75 12 msec + 10 * * * * * * * * * * + 11 * * * * * * * * * * + 12 * * * * * * * * * * + 13 * * * * * * * * * * + 14 * * * * * * * * * * + 15 * * * * * * * * * * + 16 * * * * * * * * * * + 17 * * * * * * * * * * + 18 * * * * * * * * * * + 19 * * * * * * * * * * + 20 * * * * * * * * * * + 21 * * * * * * * * * * + 22 * * * * * * * * * * \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml new file mode 100644 index 0000000000..41aff3f417 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml @@ -0,0 +1,467 @@ +--- +parsed_sample: + - hop_num: "1" + nh_address: "10.255.1.1" + nh_hostname: "" + rtt_response: + - "2" + - "1" + - "1" + - "2" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + details: "" + - hop_num: "2" + nh_address: "10.255.0.5" + nh_hostname: "" + rtt_response: + - "1" + - "1" + - "1" + - "0" + - "1" + - "0" + - "1" + - "0" + - "0" + - "1" + details: "" + - hop_num: "3" + nh_address: "192.168.1.254" + nh_hostname: "" + rtt_response: + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "*" + - "1" + - "*" + - "1" + details: "" + - hop_num: "4" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "5" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "5" + nh_address: "31.55.185.181" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "6" + nh_address: "31.55.185.188" + nh_hostname: "" + rtt_response: + - "16" + - "18" + - "12" + - "13" + - "12" + - "11" + - "12" + - "17" + - "12" + - "12" + details: "" + - hop_num: "7" + nh_address: "195.99.127.152" + nh_hostname: "core2-hu0-8-0-1.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "7" + nh_address: "195.99.127.214" + nh_hostname: "core1-hu0-12-0-1.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "7" + nh_address: "213.121.192.44" + nh_hostname: "core2-hu0-16-0-8.colindale.ukcore.bt.net" + rtt_response: + - "13" + - "13" + details: "" + - hop_num: "7" + nh_address: "213.121.192.18" + nh_hostname: "core1-hu0-16-0-7.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "7" + nh_address: "213.121.192.44" + nh_hostname: "core2-hu0-16-0-8.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "7" + nh_address: "195.99.127.214" + nh_hostname: "core1-hu0-12-0-1.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "7" + nh_address: "195.99.127.150" + nh_hostname: "core1-hu0-17-0-5.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "7" + nh_address: "213.121.192.24" + nh_hostname: "core2-hu0-6-0-6.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "7" + nh_address: "213.121.192.14" + nh_hostname: "core1-hu0-15-0-9.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "8" + nh_address: "62.172.103.238" + nh_hostname: "peer3-et-0-0-1.redbus.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "194.72.16.122" + nh_hostname: "peer7-et-4-0-1.telehouse.ukcore.bt.net" + rtt_response: + - "14" + details: "" + - hop_num: "8" + nh_address: "194.72.16.128" + nh_hostname: "core2-hu0-7-0-0.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "109.159.252.150" + nh_hostname: "peer8-et-0-1-1.telehouse.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "194.72.16.230" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "109.159.252.122" + nh_hostname: "peer2-et-3-0-4.slough.ukcore.bt.net" + rtt_response: + - "17" + details: "" + - hop_num: "8" + nh_address: "62.172.103.238" + nh_hostname: "peer3-et-0-0-1.redbus.ukcore.bt.net" + rtt_response: + - "17" + details: "" + - hop_num: "8" + nh_address: "194.72.16.190" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "62.172.103.158" + nh_hostname: "peer7-et-0-0-1.telehouse.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "109.159.252.104" + nh_hostname: "peer8-et-7-0-1.telehouse.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "9" + nh_address: "109.159.253.189" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "9" + nh_address: "195.99.126.77" + nh_hostname: "peer5-te0-0-0-32.telehouse.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "9" + nh_address: "109.159.253.73" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "9" + nh_address: "109.159.253.237" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "9" + nh_address: "195.99.126.77" + nh_hostname: "peer5-te0-0-0-32.telehouse.ukcore.bt.net" + rtt_response: + - "13" + details: "" + - hop_num: "9" + nh_address: "109.159.253.3" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "9" + nh_address: "109.159.253.219" + nh_hostname: "" + rtt_response: + - "11" + details: "" + - hop_num: "9" + nh_address: "109.159.253.237" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "9" + nh_address: "109.159.253.187" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "9" + nh_address: "109.159.253.75" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "10" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "11" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "12" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "13" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "14" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "15" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "16" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "17" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "18" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "19" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "20" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "21" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "22" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_4.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_4.raw new file mode 100644 index 0000000000..8e6d929057 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_4.raw @@ -0,0 +1,19 @@ +Type escape sequence to abort. +Tracing the route to nv1.nv.ua (51.89.96.192) +VRF info: (vrf in name/id, vrf out name/id) + 0 10.255.1.1 1 msec + 1 10.255.1.1 1 msec + 2 10.255.0.5 1 msec + 3 192.168.1.254 1 msec + 4 * + 5 * + 6 31.55.185.184 12 msec + 7 core2-hu0-2-0-1.colindale.ukcore.bt.net (195.99.127.112) 12 msec + 8 peer7-et-0-1-1.telehouse.ukcore.bt.net (109.159.252.148) 12 msec + 9 ldn-1-a9.uk.eu (54.36.50.112) 12 msec + 10 be101.lon1-eri1-g1-nc5.uk.eu (213.186.32.253) 12 msec + 11 be7.lon1-eri1-vac1-a75.uk.eu (188.165.9.95) 12 msec + 12 * + 13 * + 14 * + 15 * \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_4.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_4.yml new file mode 100644 index 0000000000..6abfdb7310 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_4.yml @@ -0,0 +1,98 @@ +--- +parsed_sample: + - hop_num: "0" + address: "10.255.1.1" + fqdn: "" + rtt_response: + - "1" + details: "" + - hop_num: "1" + address: "10.255.1.1" + fqdn: "" + rtt_response: + - "1" + details: "" + - hop_num: "2" + address: "10.255.0.5" + fqdn: "" + rtt_response: + - "1" + details: "" + - hop_num: "3" + address: "192.168.1.254" + fqdn: "" + rtt_response: + - "1" + details: "" + - hop_num: "4" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "5" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "6" + address: "31.55.185.184" + fqdn: "" + rtt_response: + - "12" + details: "" + - hop_num: "7" + address: "195.99.127.112" + fqdn: "core2-hu0-2-0-1.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + address: "109.159.252.148" + fqdn: "peer7-et-0-1-1.telehouse.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "9" + address: "54.36.50.112" + fqdn: "ldn-1-a9.uk.eu" + rtt_response: + - "12" + details: "" + - hop_num: "10" + address: "213.186.32.253" + fqdn: "be101.lon1-eri1-g1-nc5.uk.eu" + rtt_response: + - "12" + details: "" + - hop_num: "11" + address: "188.165.9.95" + fqdn: "be7.lon1-eri1-vac1-a75.uk.eu" + rtt_response: + - "12" + details: "" + - hop_num: "12" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "13" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "14" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "15" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_5.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_5.raw new file mode 100644 index 0000000000..36a6514618 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_5.raw @@ -0,0 +1,33 @@ +Type escape sequence to abort. +Tracing the route to 39.156.69.79 +VRF info: (vrf in name/id, vrf out name/id) + 1 10.255.1.1 1 msec + 2 10.255.0.5 0 msec + 3 192.168.1.254 1 msec + 4 * + 5 * + 6 31.55.185.176 11 msec + 7 core2-hu0-12-0-1.colindale.ukcore.bt.net (195.99.127.118) 12 msec + 8 109.159.252.132 12 msec + 9 166-49-128-32.gia.bt.net (166.49.128.32) 11 msec + 10 212.119.4.136 12 msec + 11 ae-0.r24.londen12.uk.bb.gin.ntt.net (129.250.4.140) [MPLS: Label 316962 Exp 0] 15 msec + 12 ae-7.r21.sngpsi07.sg.bb.gin.ntt.net (129.250.7.65) [MPLS: Labels 577687/617891 Exp 0] 166 msec + 13 ae-7.r20.sngpsi07.sg.bb.gin.ntt.net (129.250.3.74) [MPLS: Labels 408375/617891 Exp 0] 196 msec + 14 ae-9.r24.tkokhk01.hk.bb.gin.ntt.net (129.250.7.67) [MPLS: Label 617891 Exp 0] 233 msec + 15 ae-1.r03.tkokhk01.hk.bb.gin.ntt.net (129.250.6.98) 216 msec + 16 ce-0-2-0-3.r03.tkokhk01.hk.ce.gin.ntt.net (203.131.241.86) 217 msec + 17 223.120.2.53 236 msec + 18 223.120.2.6 237 msec + 19 221.183.68.125 223 msec + 20 221.183.25.122 221 msec + 21 221.183.68.146 219 msec + 22 * + 23 221.183.62.138 202 msec + 24 * + 25 39.156.27.1 207 msec + 26 * + 27 * + 28 * + 29 * + 30 * \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_5.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_5.yml new file mode 100644 index 0000000000..7ab6d0e9a0 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_5.yml @@ -0,0 +1,182 @@ +--- +parsed_sample: + - hop_num: "1" + address: "10.255.1.1" + fqdn: "" + rtt_response: + - "1" + details: "" + - hop_num: "2" + address: "10.255.0.5" + fqdn: "" + rtt_response: + - "0" + details: "" + - hop_num: "3" + address: "192.168.1.254" + fqdn: "" + rtt_response: + - "1" + details: "" + - hop_num: "4" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "5" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "6" + address: "31.55.185.176" + fqdn: "" + rtt_response: + - "11" + details: "" + - hop_num: "7" + address: "195.99.127.118" + fqdn: "core2-hu0-12-0-1.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + address: "109.159.252.132" + fqdn: "" + rtt_response: + - "12" + details: "" + - hop_num: "9" + address: "166.49.128.32" + fqdn: "166-49-128-32.gia.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "10" + address: "212.119.4.136" + fqdn: "" + rtt_response: + - "12" + details: "" + - hop_num: "11" + address: "129.250.4.140" + fqdn: "ae-0.r24.londen12.uk.bb.gin.ntt.net" + rtt_response: + - "15" + details: "MPLS: Label 316962 Exp 0" + - hop_num: "12" + address: "129.250.7.65" + fqdn: "ae-7.r21.sngpsi07.sg.bb.gin.ntt.net" + rtt_response: + - "166" + details: "MPLS: Labels 577687/617891 Exp 0" + - hop_num: "13" + address: "129.250.3.74" + fqdn: "ae-7.r20.sngpsi07.sg.bb.gin.ntt.net" + rtt_response: + - "196" + details: "MPLS: Labels 408375/617891 Exp 0" + - hop_num: "14" + address: "129.250.7.67" + fqdn: "ae-9.r24.tkokhk01.hk.bb.gin.ntt.net" + rtt_response: + - "233" + details: "MPLS: Label 617891 Exp 0" + - hop_num: "15" + address: "129.250.6.98" + fqdn: "ae-1.r03.tkokhk01.hk.bb.gin.ntt.net" + rtt_response: + - "216" + details: "" + - hop_num: "16" + address: "203.131.241.86" + fqdn: "ce-0-2-0-3.r03.tkokhk01.hk.ce.gin.ntt.net" + rtt_response: + - "217" + details: "" + - hop_num: "17" + address: "223.120.2.53" + fqdn: "" + rtt_response: + - "236" + details: "" + - hop_num: "18" + address: "223.120.2.6" + fqdn: "" + rtt_response: + - "237" + details: "" + - hop_num: "19" + address: "221.183.68.125" + fqdn: "" + rtt_response: + - "223" + details: "" + - hop_num: "20" + address: "221.183.25.122" + fqdn: "" + rtt_response: + - "221" + details: "" + - hop_num: "21" + address: "221.183.68.146" + fqdn: "" + rtt_response: + - "219" + details: "" + - hop_num: "22" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "23" + address: "221.183.62.138" + fqdn: "" + rtt_response: + - "202" + details: "" + - hop_num: "24" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "25" + address: "39.156.27.1" + fqdn: "" + rtt_response: + - "207" + details: "" + - hop_num: "26" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "27" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "28" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "29" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" + - hop_num: "30" + address: "" + fqdn: "" + rtt_response: + - "*" + details: "" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.raw new file mode 100644 index 0000000000..a0480720be --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.raw @@ -0,0 +1,17 @@ +Type escape sequence to abort. +Tracing the route to one.one.one.one (1.1.1.1) +VRF info: (vrf in name/id, vrf out name/id) + 1 10.255.1.1 2 msec 1 msec 1 msec + 2 10.255.0.5 1 msec 1 msec 1 msec + 3 192.168.1.254 1 msec 1 msec 1 msec + 4 * * * + 5 * * * + 6 31.55.185.188 12 msec 12 msec 11 msec + 7 core1-hu0-16-0-9.colindale.ukcore.bt.net (213.121.192.22) 11 msec + core2-hu0-17-0-1.colindale.ukcore.bt.net (195.99.127.156) 11 msec + core2-hu0-15-0-6.colindale.ukcore.bt.net (213.121.192.32) 12 msec + 8 peer7-et-0-1-6.telehouse.ukcore.bt.net (109.159.252.166) 12 msec + peer7-et-0-1-1.telehouse.ukcore.bt.net (109.159.252.148) 11 msec + core2-hu0-7-0-0.colindale.ukcore.bt.net (194.72.16.128) 11 msec + 9 109.159.253.95 15 msec 14 msec 13 msec + 10 one.one.one.one (1.1.1.1) 11 msec 14 msec 12 msec \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml new file mode 100644 index 0000000000..7898c0b470 --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml @@ -0,0 +1,102 @@ +--- +parsed_sample: + - hop_num: "1" + nh_address: "10.255.1.1" + nh_hostname: "" + rtt_response: + - "2" + - "1" + - "1" + details: "" + - hop_num: "2" + nh_address: "10.255.0.5" + nh_hostname: "" + rtt_response: + - "1" + - "1" + - "1" + details: "" + - hop_num: "3" + nh_address: "192.168.1.254" + nh_hostname: "" + rtt_response: + - "1" + - "1" + - "1" + details: "" + - hop_num: "4" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + details: "" + - hop_num: "5" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + details: "" + - hop_num: "6" + nh_address: "31.55.185.188" + nh_hostname: "" + rtt_response: + - "12" + - "12" + - "11" + details: "" + - hop_num: "7" + nh_address: "213.121.192.22" + nh_hostname: "core1-hu0-16-0-9.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "7" + nh_address: "195.99.127.156" + nh_hostname: "core2-hu0-17-0-1.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "7" + nh_address: "213.121.192.32" + nh_hostname: "core2-hu0-15-0-6.colindale.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "109.159.252.166" + nh_hostname: "peer7-et-0-1-6.telehouse.ukcore.bt.net" + rtt_response: + - "12" + details: "" + - hop_num: "8" + nh_address: "109.159.252.148" + nh_hostname: "peer7-et-0-1-1.telehouse.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "8" + nh_address: "194.72.16.128" + nh_hostname: "core2-hu0-7-0-0.colindale.ukcore.bt.net" + rtt_response: + - "11" + details: "" + - hop_num: "9" + nh_address: "109.159.253.95" + nh_hostname: "" + rtt_response: + - "15" + - "14" + - "13" + details: "" + - hop_num: "10" + nh_address: "1.1.1.1" + nh_hostname: "one.one.one.one" + rtt_response: + - "11" + - "14" + - "12" + details: "" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.raw b/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.raw new file mode 100644 index 0000000000..48db9827ca --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.raw @@ -0,0 +1,28 @@ +Type escape sequence to abort. +Tracing the route to ams16s22-in-f14.1e100.net (216.58.212.238) +VRF info: (vrf in name/id, vrf out name/id) + 10 * * * * * * * * * * + 11 74.125.242.97 13 msec + 108.170.232.104 15 msec + 64.233.175.90 11 msec + 74.125.242.97 12 msec 22 msec 13 msec + 172.253.71.188 12 msec + 172.253.66.98 12 msec + 74.125.242.97 14 msec + 172.253.71.198 12 msec + 12 74.125.242.114 12 msec + 74.125.242.115 12 msec + 74.125.242.82 12 msec 12 msec + 216.239.63.219 14 msec 12 msec 12 msec + 74.125.242.82 12 msec + 216.239.63.219 14 msec + 216.239.41.241 14 msec + 13 ams16s22-in-f14.1e100.net (216.58.212.238) 13 msec + 209.85.241.211 [MPLS: Label 216928 Exp 4] 15 msec + ams16s22-in-f14.1e100.net (216.58.212.238) 11 msec 12 msec + 216.239.59.77 [MPLS: Label 38369 Exp 4] 14 msec + 209.85.241.211 [MPLS: Label 216928 Exp 4] 15 msec + ams16s22-in-f14.1e100.net (216.58.212.238) 12 msec + 209.85.250.185 [MPLS: Label 27488 Exp 4] 13 msec + ams16s22-in-f14.1e100.net (216.58.212.238) 11 msec + 216.239.58.131 [MPLS: Label 36671 Exp 4] 13 msec \ No newline at end of file diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml new file mode 100644 index 0000000000..dfc045e24e --- /dev/null +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml @@ -0,0 +1,167 @@ +--- +parsed_sample: + - hop_num: "10" + nh_address: "" + nh_hostname: "" + rtt_response: + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + - "*" + details: "" + - hop_num: "11" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "13" + details: "" + - hop_num: "11" + nh_address: "108.170.232.104" + nh_hostname: "" + rtt_response: + - "15" + details: "" + - hop_num: "11" + nh_address: "64.233.175.90" + nh_hostname: "" + rtt_response: + - "11" + details: "" + - hop_num: "11" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "12" + - "22" + - "13" + details: "" + - hop_num: "11" + nh_address: "172.253.71.188" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "11" + nh_address: "172.253.66.98" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "11" + nh_address: "74.125.242.97" + nh_hostname: "" + rtt_response: + - "14" + details: "" + - hop_num: "11" + nh_address: "172.253.71.198" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "12" + nh_address: "74.125.242.114" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "12" + nh_address: "74.125.242.115" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "12" + nh_address: "74.125.242.82" + nh_hostname: "" + rtt_response: + - "12" + - "12" + details: "" + - hop_num: "12" + nh_address: "216.239.63.219" + nh_hostname: "" + rtt_response: + - "14" + - "12" + - "12" + details: "" + - hop_num: "12" + nh_address: "74.125.242.82" + nh_hostname: "" + rtt_response: + - "12" + details: "" + - hop_num: "12" + nh_address: "216.239.63.219" + nh_hostname: "" + rtt_response: + - "14" + details: "" + - hop_num: "12" + nh_address: "216.239.41.241" + nh_hostname: "" + rtt_response: + - "14" + details: "" + - hop_num: "13" + nh_address: "216.58.212.238" + nh_hostname: "ams16s22-in-f14.1e100.net" + rtt_response: + - "13" + details: "" + - hop_num: "13" + nh_address: "209.85.241.211" + nh_hostname: "" + rtt_response: + - "15" + details: "MPLS: Label 216928 Exp 4" + - hop_num: "13" + nh_address: "216.58.212.238" + nh_hostname: "ams16s22-in-f14.1e100.net" + rtt_response: + - "11" + - "12" + details: "" + - hop_num: "13" + nh_address: "216.239.59.77" + nh_hostname: "" + rtt_response: + - "14" + details: "MPLS: Label 38369 Exp 4" + - hop_num: "13" + nh_address: "209.85.241.211" + nh_hostname: "" + rtt_response: + - "15" + details: "MPLS: Label 216928 Exp 4" + - hop_num: "13" + nh_address: "216.58.212.238" + nh_hostname: "ams16s22-in-f14.1e100.net" + rtt_response: + - "12" + details: "" + - hop_num: "13" + nh_address: "209.85.250.185" + nh_hostname: "" + rtt_response: + - "13" + details: "MPLS: Label 27488 Exp 4" + - hop_num: "13" + nh_address: "216.58.212.238" + nh_hostname: "ams16s22-in-f14.1e100.net" + rtt_response: + - "11" + details: "" + - hop_num: "13" + nh_address: "216.239.58.131" + nh_hostname: "" + rtt_response: + - "13" + details: "MPLS: Label 36671 Exp 4" From e7eb33523c01ece0ace8a9a242a276e7ce8d329e Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Fri, 15 May 2020 23:29:03 +0100 Subject: [PATCH 2/3] Re-run tests against raw files --- .../traceroute/cisco_ios_traceroute_1.yml | 20 +- .../traceroute/cisco_ios_traceroute_2.yml | 84 ++++---- .../traceroute/cisco_ios_traceroute_3.yml | 196 +++++++++--------- .../traceroute/cisco_ios_traceroute_dns.yml | 56 ++--- .../traceroute/cisco_ios_traceroute_ip.yml | 100 ++++----- 5 files changed, 228 insertions(+), 228 deletions(-) diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml index bf0b8a719b..869fabfb2e 100644 --- a/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_1.yml @@ -1,32 +1,32 @@ --- parsed_sample: - hop_num: "1" - nh_address: "10.180.133.121" - nh_hostname: "" + address: "10.180.133.121" + fqdn: "" rtt_response: - "1" details: "" - hop_num: "1" - nh_address: "10.180.133.125" - nh_hostname: "" + address: "10.180.133.125" + fqdn: "" rtt_response: - "1" details: "" - hop_num: "1" - nh_address: "10.180.133.121" - nh_hostname: "" + address: "10.180.133.121" + fqdn: "" rtt_response: - "0" details: "" - hop_num: "1" - nh_address: "10.180.133.125" - nh_hostname: "" + address: "10.180.133.125" + fqdn: "" rtt_response: - "2" details: "" - hop_num: "2" - nh_address: "10.180.133.177" - nh_hostname: "" + address: "10.180.133.177" + fqdn: "" rtt_response: - "1" - "*" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml index dbbe7bd182..67217b66e9 100644 --- a/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_2.yml @@ -1,24 +1,24 @@ --- parsed_sample: - hop_num: "1" - nh_address: "10.180.140.150" - nh_hostname: "" + address: "10.180.140.150" + fqdn: "" rtt_response: - "1" - "1" - "1" details: "" - hop_num: "2" - nh_address: "172.17.10.225" - nh_hostname: "" + address: "172.17.10.225" + fqdn: "" rtt_response: - "169" - "142" - "135" details: "" - hop_num: "3" - nh_address: "108.170.246.129" - nh_hostname: "" + address: "108.170.246.129" + fqdn: "" rtt_response: - "13" - "*" @@ -32,113 +32,113 @@ parsed_sample: - "*" details: "" - hop_num: "4" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "14" details: "" - hop_num: "4" - nh_address: "216.239.63.218" - nh_hostname: "" + address: "216.239.63.218" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "4" - nh_address: "172.253.68.212" - nh_hostname: "" + address: "172.253.68.212" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "4" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "4" - nh_address: "216.239.56.192" - nh_hostname: "" + address: "216.239.56.192" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "4" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "4" - nh_address: "108.170.238.117" - nh_hostname: "" + address: "108.170.238.117" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "4" - nh_address: "216.239.58.220" - nh_hostname: "" + address: "216.239.58.220" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "4" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "13" - "13" details: "" - hop_num: "5" - nh_address: "216.58.204.46" - nh_hostname: "" + address: "216.58.204.46" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "5" - nh_address: "74.125.242.115" - nh_hostname: "" + address: "74.125.242.115" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "5" - nh_address: "74.125.242.114" - nh_hostname: "" + address: "74.125.242.114" + fqdn: "" rtt_response: - "15" details: "" - hop_num: "5" - nh_address: "108.170.238.117" - nh_hostname: "" + address: "108.170.238.117" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "5" - nh_address: "108.170.238.119" - nh_hostname: "" + address: "108.170.238.119" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "5" - nh_address: "74.125.242.83" - nh_hostname: "" + address: "74.125.242.83" + fqdn: "" rtt_response: - "12" - "12" - "13" details: "" - hop_num: "5" - nh_address: "74.125.242.82" - nh_hostname: "" + address: "74.125.242.82" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "5" - nh_address: "108.170.238.117" - nh_hostname: "" + address: "108.170.238.117" + fqdn: "" rtt_response: - "14" details: "" - hop_num: "6" - nh_address: "172.17.10.225" - nh_hostname: "" + address: "172.17.10.225" + fqdn: "" rtt_response: - "!H" - "*" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml index 41aff3f417..38fefbfce3 100644 --- a/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_3.yml @@ -1,8 +1,8 @@ --- parsed_sample: - hop_num: "1" - nh_address: "10.255.1.1" - nh_hostname: "" + address: "10.255.1.1" + fqdn: "" rtt_response: - "2" - "1" @@ -16,8 +16,8 @@ parsed_sample: - "1" details: "" - hop_num: "2" - nh_address: "10.255.0.5" - nh_hostname: "" + address: "10.255.0.5" + fqdn: "" rtt_response: - "1" - "1" @@ -31,8 +31,8 @@ parsed_sample: - "1" details: "" - hop_num: "3" - nh_address: "192.168.1.254" - nh_hostname: "" + address: "192.168.1.254" + fqdn: "" rtt_response: - "1" - "1" @@ -46,8 +46,8 @@ parsed_sample: - "1" details: "" - hop_num: "4" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -61,8 +61,8 @@ parsed_sample: - "*" details: "" - hop_num: "5" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -75,14 +75,14 @@ parsed_sample: - "*" details: "" - hop_num: "5" - nh_address: "31.55.185.181" - nh_hostname: "" + address: "31.55.185.181" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "6" - nh_address: "31.55.185.188" - nh_hostname: "" + address: "31.55.185.188" + fqdn: "" rtt_response: - "16" - "18" @@ -96,183 +96,183 @@ parsed_sample: - "12" details: "" - hop_num: "7" - nh_address: "195.99.127.152" - nh_hostname: "core2-hu0-8-0-1.colindale.ukcore.bt.net" + address: "195.99.127.152" + fqdn: "core2-hu0-8-0-1.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "7" - nh_address: "195.99.127.214" - nh_hostname: "core1-hu0-12-0-1.colindale.ukcore.bt.net" + address: "195.99.127.214" + fqdn: "core1-hu0-12-0-1.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "7" - nh_address: "213.121.192.44" - nh_hostname: "core2-hu0-16-0-8.colindale.ukcore.bt.net" + address: "213.121.192.44" + fqdn: "core2-hu0-16-0-8.colindale.ukcore.bt.net" rtt_response: - "13" - "13" details: "" - hop_num: "7" - nh_address: "213.121.192.18" - nh_hostname: "core1-hu0-16-0-7.colindale.ukcore.bt.net" + address: "213.121.192.18" + fqdn: "core1-hu0-16-0-7.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "7" - nh_address: "213.121.192.44" - nh_hostname: "core2-hu0-16-0-8.colindale.ukcore.bt.net" + address: "213.121.192.44" + fqdn: "core2-hu0-16-0-8.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "7" - nh_address: "195.99.127.214" - nh_hostname: "core1-hu0-12-0-1.colindale.ukcore.bt.net" + address: "195.99.127.214" + fqdn: "core1-hu0-12-0-1.colindale.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "7" - nh_address: "195.99.127.150" - nh_hostname: "core1-hu0-17-0-5.colindale.ukcore.bt.net" + address: "195.99.127.150" + fqdn: "core1-hu0-17-0-5.colindale.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "7" - nh_address: "213.121.192.24" - nh_hostname: "core2-hu0-6-0-6.colindale.ukcore.bt.net" + address: "213.121.192.24" + fqdn: "core2-hu0-6-0-6.colindale.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "7" - nh_address: "213.121.192.14" - nh_hostname: "core1-hu0-15-0-9.colindale.ukcore.bt.net" + address: "213.121.192.14" + fqdn: "core1-hu0-15-0-9.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "8" - nh_address: "62.172.103.238" - nh_hostname: "peer3-et-0-0-1.redbus.ukcore.bt.net" + address: "62.172.103.238" + fqdn: "peer3-et-0-0-1.redbus.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "194.72.16.122" - nh_hostname: "peer7-et-4-0-1.telehouse.ukcore.bt.net" + address: "194.72.16.122" + fqdn: "peer7-et-4-0-1.telehouse.ukcore.bt.net" rtt_response: - "14" details: "" - hop_num: "8" - nh_address: "194.72.16.128" - nh_hostname: "core2-hu0-7-0-0.colindale.ukcore.bt.net" + address: "194.72.16.128" + fqdn: "core2-hu0-7-0-0.colindale.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "109.159.252.150" - nh_hostname: "peer8-et-0-1-1.telehouse.ukcore.bt.net" + address: "109.159.252.150" + fqdn: "peer8-et-0-1-1.telehouse.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "194.72.16.230" - nh_hostname: "" + address: "194.72.16.230" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "109.159.252.122" - nh_hostname: "peer2-et-3-0-4.slough.ukcore.bt.net" + address: "109.159.252.122" + fqdn: "peer2-et-3-0-4.slough.ukcore.bt.net" rtt_response: - "17" details: "" - hop_num: "8" - nh_address: "62.172.103.238" - nh_hostname: "peer3-et-0-0-1.redbus.ukcore.bt.net" + address: "62.172.103.238" + fqdn: "peer3-et-0-0-1.redbus.ukcore.bt.net" rtt_response: - "17" details: "" - hop_num: "8" - nh_address: "194.72.16.190" - nh_hostname: "" + address: "194.72.16.190" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "62.172.103.158" - nh_hostname: "peer7-et-0-0-1.telehouse.ukcore.bt.net" + address: "62.172.103.158" + fqdn: "peer7-et-0-0-1.telehouse.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "109.159.252.104" - nh_hostname: "peer8-et-7-0-1.telehouse.ukcore.bt.net" + address: "109.159.252.104" + fqdn: "peer8-et-7-0-1.telehouse.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "9" - nh_address: "109.159.253.189" - nh_hostname: "" + address: "109.159.253.189" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "9" - nh_address: "195.99.126.77" - nh_hostname: "peer5-te0-0-0-32.telehouse.ukcore.bt.net" + address: "195.99.126.77" + fqdn: "peer5-te0-0-0-32.telehouse.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "9" - nh_address: "109.159.253.73" - nh_hostname: "" + address: "109.159.253.73" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "9" - nh_address: "109.159.253.237" - nh_hostname: "" + address: "109.159.253.237" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "9" - nh_address: "195.99.126.77" - nh_hostname: "peer5-te0-0-0-32.telehouse.ukcore.bt.net" + address: "195.99.126.77" + fqdn: "peer5-te0-0-0-32.telehouse.ukcore.bt.net" rtt_response: - "13" details: "" - hop_num: "9" - nh_address: "109.159.253.3" - nh_hostname: "" + address: "109.159.253.3" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "9" - nh_address: "109.159.253.219" - nh_hostname: "" + address: "109.159.253.219" + fqdn: "" rtt_response: - "11" details: "" - hop_num: "9" - nh_address: "109.159.253.237" - nh_hostname: "" + address: "109.159.253.237" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "9" - nh_address: "109.159.253.187" - nh_hostname: "" + address: "109.159.253.187" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "9" - nh_address: "109.159.253.75" - nh_hostname: "" + address: "109.159.253.75" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "10" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -286,8 +286,8 @@ parsed_sample: - "*" details: "" - hop_num: "11" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -301,8 +301,8 @@ parsed_sample: - "*" details: "" - hop_num: "12" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -316,8 +316,8 @@ parsed_sample: - "*" details: "" - hop_num: "13" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -331,8 +331,8 @@ parsed_sample: - "*" details: "" - hop_num: "14" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -346,8 +346,8 @@ parsed_sample: - "*" details: "" - hop_num: "15" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -361,8 +361,8 @@ parsed_sample: - "*" details: "" - hop_num: "16" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -376,8 +376,8 @@ parsed_sample: - "*" details: "" - hop_num: "17" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -391,8 +391,8 @@ parsed_sample: - "*" details: "" - hop_num: "18" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -406,8 +406,8 @@ parsed_sample: - "*" details: "" - hop_num: "19" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -421,8 +421,8 @@ parsed_sample: - "*" details: "" - hop_num: "20" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -436,8 +436,8 @@ parsed_sample: - "*" details: "" - hop_num: "21" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -451,8 +451,8 @@ parsed_sample: - "*" details: "" - hop_num: "22" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml index 7898c0b470..96f1712112 100644 --- a/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_dns.yml @@ -1,100 +1,100 @@ --- parsed_sample: - hop_num: "1" - nh_address: "10.255.1.1" - nh_hostname: "" + address: "10.255.1.1" + fqdn: "" rtt_response: - "2" - "1" - "1" details: "" - hop_num: "2" - nh_address: "10.255.0.5" - nh_hostname: "" + address: "10.255.0.5" + fqdn: "" rtt_response: - "1" - "1" - "1" details: "" - hop_num: "3" - nh_address: "192.168.1.254" - nh_hostname: "" + address: "192.168.1.254" + fqdn: "" rtt_response: - "1" - "1" - "1" details: "" - hop_num: "4" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" - "*" details: "" - hop_num: "5" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" - "*" details: "" - hop_num: "6" - nh_address: "31.55.185.188" - nh_hostname: "" + address: "31.55.185.188" + fqdn: "" rtt_response: - "12" - "12" - "11" details: "" - hop_num: "7" - nh_address: "213.121.192.22" - nh_hostname: "core1-hu0-16-0-9.colindale.ukcore.bt.net" + address: "213.121.192.22" + fqdn: "core1-hu0-16-0-9.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "7" - nh_address: "195.99.127.156" - nh_hostname: "core2-hu0-17-0-1.colindale.ukcore.bt.net" + address: "195.99.127.156" + fqdn: "core2-hu0-17-0-1.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "7" - nh_address: "213.121.192.32" - nh_hostname: "core2-hu0-15-0-6.colindale.ukcore.bt.net" + address: "213.121.192.32" + fqdn: "core2-hu0-15-0-6.colindale.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "109.159.252.166" - nh_hostname: "peer7-et-0-1-6.telehouse.ukcore.bt.net" + address: "109.159.252.166" + fqdn: "peer7-et-0-1-6.telehouse.ukcore.bt.net" rtt_response: - "12" details: "" - hop_num: "8" - nh_address: "109.159.252.148" - nh_hostname: "peer7-et-0-1-1.telehouse.ukcore.bt.net" + address: "109.159.252.148" + fqdn: "peer7-et-0-1-1.telehouse.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "8" - nh_address: "194.72.16.128" - nh_hostname: "core2-hu0-7-0-0.colindale.ukcore.bt.net" + address: "194.72.16.128" + fqdn: "core2-hu0-7-0-0.colindale.ukcore.bt.net" rtt_response: - "11" details: "" - hop_num: "9" - nh_address: "109.159.253.95" - nh_hostname: "" + address: "109.159.253.95" + fqdn: "" rtt_response: - "15" - "14" - "13" details: "" - hop_num: "10" - nh_address: "1.1.1.1" - nh_hostname: "one.one.one.one" + address: "1.1.1.1" + fqdn: "one.one.one.one" rtt_response: - "11" - "14" diff --git a/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml b/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml index dfc045e24e..e54e1779d6 100644 --- a/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml +++ b/tests/cisco_ios/traceroute/cisco_ios_traceroute_ip.yml @@ -1,8 +1,8 @@ --- parsed_sample: - hop_num: "10" - nh_address: "" - nh_hostname: "" + address: "" + fqdn: "" rtt_response: - "*" - "*" @@ -16,152 +16,152 @@ parsed_sample: - "*" details: "" - hop_num: "11" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "13" details: "" - hop_num: "11" - nh_address: "108.170.232.104" - nh_hostname: "" + address: "108.170.232.104" + fqdn: "" rtt_response: - "15" details: "" - hop_num: "11" - nh_address: "64.233.175.90" - nh_hostname: "" + address: "64.233.175.90" + fqdn: "" rtt_response: - "11" details: "" - hop_num: "11" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "12" - "22" - "13" details: "" - hop_num: "11" - nh_address: "172.253.71.188" - nh_hostname: "" + address: "172.253.71.188" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "11" - nh_address: "172.253.66.98" - nh_hostname: "" + address: "172.253.66.98" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "11" - nh_address: "74.125.242.97" - nh_hostname: "" + address: "74.125.242.97" + fqdn: "" rtt_response: - "14" details: "" - hop_num: "11" - nh_address: "172.253.71.198" - nh_hostname: "" + address: "172.253.71.198" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "12" - nh_address: "74.125.242.114" - nh_hostname: "" + address: "74.125.242.114" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "12" - nh_address: "74.125.242.115" - nh_hostname: "" + address: "74.125.242.115" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "12" - nh_address: "74.125.242.82" - nh_hostname: "" + address: "74.125.242.82" + fqdn: "" rtt_response: - "12" - "12" details: "" - hop_num: "12" - nh_address: "216.239.63.219" - nh_hostname: "" + address: "216.239.63.219" + fqdn: "" rtt_response: - "14" - "12" - "12" details: "" - hop_num: "12" - nh_address: "74.125.242.82" - nh_hostname: "" + address: "74.125.242.82" + fqdn: "" rtt_response: - "12" details: "" - hop_num: "12" - nh_address: "216.239.63.219" - nh_hostname: "" + address: "216.239.63.219" + fqdn: "" rtt_response: - "14" details: "" - hop_num: "12" - nh_address: "216.239.41.241" - nh_hostname: "" + address: "216.239.41.241" + fqdn: "" rtt_response: - "14" details: "" - hop_num: "13" - nh_address: "216.58.212.238" - nh_hostname: "ams16s22-in-f14.1e100.net" + address: "216.58.212.238" + fqdn: "ams16s22-in-f14.1e100.net" rtt_response: - "13" details: "" - hop_num: "13" - nh_address: "209.85.241.211" - nh_hostname: "" + address: "209.85.241.211" + fqdn: "" rtt_response: - "15" details: "MPLS: Label 216928 Exp 4" - hop_num: "13" - nh_address: "216.58.212.238" - nh_hostname: "ams16s22-in-f14.1e100.net" + address: "216.58.212.238" + fqdn: "ams16s22-in-f14.1e100.net" rtt_response: - "11" - "12" details: "" - hop_num: "13" - nh_address: "216.239.59.77" - nh_hostname: "" + address: "216.239.59.77" + fqdn: "" rtt_response: - "14" details: "MPLS: Label 38369 Exp 4" - hop_num: "13" - nh_address: "209.85.241.211" - nh_hostname: "" + address: "209.85.241.211" + fqdn: "" rtt_response: - "15" details: "MPLS: Label 216928 Exp 4" - hop_num: "13" - nh_address: "216.58.212.238" - nh_hostname: "ams16s22-in-f14.1e100.net" + address: "216.58.212.238" + fqdn: "ams16s22-in-f14.1e100.net" rtt_response: - "12" details: "" - hop_num: "13" - nh_address: "209.85.250.185" - nh_hostname: "" + address: "209.85.250.185" + fqdn: "" rtt_response: - "13" details: "MPLS: Label 27488 Exp 4" - hop_num: "13" - nh_address: "216.58.212.238" - nh_hostname: "ams16s22-in-f14.1e100.net" + address: "216.58.212.238" + fqdn: "ams16s22-in-f14.1e100.net" rtt_response: - "11" details: "" - hop_num: "13" - nh_address: "216.239.58.131" - nh_hostname: "" + address: "216.239.58.131" + fqdn: "" rtt_response: - "13" details: "MPLS: Label 36671 Exp 4" From cf721c8c679df94a758d93078fd0570390e84ae1 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Thu, 21 May 2020 18:12:27 +0100 Subject: [PATCH 3/3] Update templates/cisco_ios_traceroute.textfsm Co-authored-by: Mikhail Yohman --- templates/cisco_ios_traceroute.textfsm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_traceroute.textfsm b/templates/cisco_ios_traceroute.textfsm index e77d3dab74..5774a925f9 100644 --- a/templates/cisco_ios_traceroute.textfsm +++ b/templates/cisco_ios_traceroute.textfsm @@ -23,7 +23,8 @@ Start ^Tracing\s+the\s+route ^VRF\s+info: -> Entries ^\s*$$ - ^.*$$ -> Error + ^\s*$$ + ^. -> Error Entries ^\s+${HOP_NUM}\s+ -> Continue @@ -41,4 +42,4 @@ Entries ^.*?(?:(?:\d+\s+msec|![A-Z]|\*|\?)\s+){9}${RTT_RESPONSE} -> Continue ^.* -> Record -EOF \ No newline at end of file +EOF